Installing MovableType 4 on a windows machine with WAMPServer

Posted: 18:28 September 1, 2007
Web Development |

Ok so I ended up installing the RC 2 of MovableType 4 a few weeks back and thought this is shiny …
I’ve recently ended up installing MovableType 4 on another account and still think .. wow this is shiny … BUT … I don’t want to have to have all my changes over the web … I like my local development area.

At the moment I’ve just got a Windows machine … ok I’ve a few VM’s running as well one for subversion and another Ubuntu server install for play. My Linux machine is currently in bits as I try to fix it up. (the joys of being your own IT support)

So I downloaded MovableType onto my local machine … extract it all to the directory of choice and I remember … oops this needs Perl running. Now I’ve being mainly using PHP the last few years apart from helping out a few people with regexp stuff thats been about it for me and perl in the last while.

I remembered that ActiveState have a nice perl install … the last time I used it would have been maybe 2002 / 3 ?? EEK!!!

What you’ll need for this install

WampServer is pretty much a double click and its installed … and ActivePerl as well … Extract it to a folder of your choice and run the batch file “Installer.exe” I chose to install it to “c:\perl” the default

Now you’ll need to install a few extras …

From a command shell

Program Files -> Run -> cmd

cd\perl\bin
ppm

From the Packages select DBI as well as DBD-mysql and install these.

Now you’ve set up Perl with the extra packages you need its time to tell Apache what to do with .cgi files..

Click the little WampServer icon in your taskbar go up to config files and click on httpd.conf

You’ll want to add in

#cgi
Options +ExecCGI

somewhere around “Options Indexes FollowSymLinks”

you’ll also want to add in further down …

AddHandler cgi-script .cgi

Restart Apache (click the icon .. and restart all or just … apache -> restart) … and you should be up and running

Extract movable type to the folder of your choice underneath your web root and you’ll have to edit the .cgi files to include at the very start of the files

#!c:\perl\bin\perl.exe -w

or the path you installed perl to … and …away you go

If you’re looking to Migrate your WordPress install then there’s a pretty good article here Migration HowTo

Comments

9 Responses to “Installing MovableType 4 on a windows machine with WAMPServer”

  1. Movable Type 4 IRELAND on September 1st, 2007 7:03 pm

    Installing MovableType4 On Windows with Wampserver…

    James from Forbairt Media has posted a howto on installing MovableType 4 on Windows XP using Wamp Server…….

  2. piti THAILAND on January 5th, 2008 4:25 pm

    would you please explain:
    1.add in

    #cgi
    Options +ExecCGI

    somewhere around “Options Indexes FollowSymLinks”

    2.add in further down …

    AddHandler cgi-script .cgi

    Thank you

  3. piti THAILAND on January 5th, 2008 5:48 pm

    I got these messages, when I click on the “log in to Movable type”

    what do they mean? How could I fix the problems. please help,

    Got an error: syntax error at lib/MT.pm line 482, near “Carp::confess
    “You cannot register multiple plugin objects from a single script. $plugin_sig”"
    Global symbol “$id” requires explicit package name at lib/MT.pm line 486.
    Global symbol “$plugin” requires explicit package name at lib/MT.pm line 486.
    Global symbol “$id” requires explicit package name at lib/MT.pm line 486.
    Global symbol “$plugin” requires explicit package name at lib/MT.pm line 487.
    Global symbol “$plugin” requires explicit package name at lib/MT.pm line 488.
    Global symbol “$plugin” requires explicit package name at lib/MT.pm line 489.
    Global symbol “$plugin” requires explicit package name at lib/MT.pm line 490.
    Global symbol “$plugin” requires explicit package name at lib/MT.pm line 491.
    Global symbol “$plugin” requires explicit package name at lib/MT.pm line 492.
    Global symbol “$plugin” requires explicit package name at lib/MT.pm line 492.
    Global symbol “$plugin” requires explicit package name at lib/MT.pm line 493.
    Global symbol “$plugin” requires explicit package name at lib/MT.pm line 495.
    Global symbol “$plugin” requires explicit package name at lib/MT.pm line 496.
    Global symbol “$plugin” requires explicit package name at lib/MT.pm line 497.
    Global symbol “$class” requires explicit package name at lib/MT.pm line 499.
    Global symbol “$plugin” requires explicit package name at lib/MT.pm line 502.
    syntax error at lib/MT.pm line 504, near “}”
    lib/MT.pm has too many errors.
    Compilation failed in require at lib/MT/Bootstrap.pm line 60.

    Thanks again

  4. piti THAILAND on January 6th, 2008 9:51 am

    I already fix those problems, but got this message

    Got an error: Config directive DBPassword without value at C:\wamp\www\mt\mt-config.cgi line 31

    what does it mean?

  5. piti THAILAND on January 6th, 2008 11:14 am

    ้ำhello

  6. James IRELAND on January 9th, 2008 1:33 am

    Hi Piti, sorry I’ve not responded sooner … up to my neck the last few days .. I’ll have a look in the morning if I can see what your problems are

  7. piti THAILAND on January 9th, 2008 7:53 am

    ืno problem James, thanks for your reply. this’s what I got when I try click on “Log in to Movable type”
    v
    v
    v
    v
    Got an error: Config directive without value at C:\wamp\www\mt\mt-config.cgi line 31

  8. piti THAILAND on January 12th, 2008 8:01 pm

    pls, don’t forget me

  9. Newton BANGLADESH on April 3rd, 2008 6:57 pm

    How can i access my PC’s wamp servers file from internet?

    please reply me via mail

Leave a Reply