Install Movable Type 3.2 on Windows Server 2003 (IIS 6.0) with PHP and MySQL server
By David Catalano
last updated: 19 October 2005

The quick guide to setup Movable Type 3.2 on Windows IIS, including the setup of MySQL, Perl, and PHP.

Table of Contents

Installing Perl

If you already know you have Perl installed then click here.

First lets check to see if you have Perl installed on your computer. Upload the test files into any folder on your web server. Unless you specifically set it up otherwise, you don’t need to upload cgi files into a cgi-bin folder (or set execute 777 permissions).

Point your browser to the test.pl and test.cgi files to see if Perl is configured on your system. The reason for testing each extension (.pl and .cgi) is to verify that both are configured to run scripts on your server. If you receive a 550 internal server error or you see the following text then Perl is not installed.

If Perl is configured for one but not both extensions you may skip the primary installation of Perl and simply add the file associations for the missing extension. Click here to view the instructions on how to set file extensions on IIS. Note: this example is for the .cgi suffix. You may simply substitute .pl if the test.pl script was not working.

To Install Perl complete the following steps:

Go to the web site of ActiveState (here) and download the Windows - MSI distribution.

Install the downloaded file on your server using the standard settings. Now we are going to modify some of the default settings. The first change will be to set the ISAPI perl DLL for standard .pl files instead of invoking the perl.exe executable. This is done to improve system performance.

Open IIS Manager and right-click the Web Sites folder and choose Properties
Click on the Home Directory tab then choose Configuration...
Scroll down to the .pl extension and click Edit...
Change the executable from C:\Perl\bin\perl.exe "%s" %s to C:\Perl\bin\perlis.dll and click Ok

Next, we are going to create a new file association to enable .cgi files. This is required for Movable Type.

Click Add... and insert C:\Perl\bin\perlis.dll into the "Executable" field.
Insert GET,HEAD,POST into the Verbs Limit to field.
Click Ok three times

You may receive the following notice:

Inheritance Overrides. This notice is informing you that you have multiple web sites currently configured that do not include the Perl association you just set. Select the servers you with to enable PHP on and click Ok

You may have to restart IIS to enable Perl. Do this by selecting your server in the IIS Manager folder tree. Click Actions - All Tasks - Restart IIS... Select Restart Internet Services and click Ok.

Re-check the installation by going to the test files from above. If they both work, Perl is now installed and configured correctly.

Let's go ahead and setup the DBD and MySQL packages for Perl before we move on. We will do this through the Perl Package Manager (PPM).

Go to the command prompt on your server (Start, Run, type cmd press Ok)
Type PPM install dbd-mysql

A bunch of DOS gibberish will fly through the screen. First PPM installs DBD a required package for the dbd-mysql package that is required by Movable Type.

Ok, now we're really done with Perl!

Continue to PHP Installation >>

Table of Contents

Report Error | Comment/criticism | Need help?

return to: index | eklektos