Has anyone tried to install MT on XAMPP for development purposes?
I use XAMPP (allows me to create a web apache, mysql, php and pearl, on a portable hard drive) for development of websites and have easily installed other applications (i.e. Joomla, Drupal, etc) on XAMPP with out issues so I can develop and show people websites with out having to use a hosted site.
However, when trying to install MT I keep getting error: Server error!
The server encountered an internal error and was unable to complete your request.
Error message: couldn’t create child process: 720005: mt.cgi
I have tried reconfiguring the mt.cgi file to point it to where pearl is loaded yet still can not get past the error?
Any help would be greatly appreciated.
Reported on Movable Type 4.2

Did you change the path at the top of each .cgi file to reflect the Perl path for XAMPP? Also, did you install the Perl add-on?
Thanks for the response - here is what I have - can you help?
XAMPP and Pearl are installed on e:\
the path to the pearl directory is e:\xampp\pearl\bin\
I modified each of the .cgi files to point to that directory.
(i.e. #!E:\xampp\perl\bin -w)
I am still recieveing the same error:
Server error!
The server encountered an internal error and was unable to complete your request.
Error message:
couldn't create child process: 720005: mt.cgi
If you think this is a server error, please contact the webmaster.
Error 500
localhost
01/05/09 10:25:38
Apache/2.2.11 (Win32) DAV/2 mod_ssl/2.2.11 OpenSSL/0.9.8i mod_autoindex_color PHP/5.2.8 mod_perl/2.0.4 Perl/v5.10.0
Try E:/xampp/perl/bin/perl.exe -w as a replacement for /usr/bin/perl -w at the top of each cgi script.
My guess is that it's not working because you have been calling it "pearl," not "perl."
Yes - that did it! Hate Typos! Well at least it got me though one set of errors. Now here is what I am getting:
Got an error: Can't locate object method "configure" via package "MT::ObjectDriverFactory"
Any ideas?
Thanks again for all your help!
Did you install the Perl add-on kit from the XAMPP website? The Perl installation you get with the basic XAMPP installation is only the interpretter and a handful of libraries. Based on some googling, it sounds like you don't have the add-on kit installed which would provide DBD::MySQL.
Yes I installed the Perl add-on kit. Here is the output from running The mt-check.cgi script
System Information
Movable Type version: 4.23-en
Current working directory: E:/xampp/htdocs/MT
MT home directory: E:/xampp/htdocs/MT/
Operating system: MSWin32
Perl version: v5.10.0
Perl include path:
E:\xampp\htdocs\MT\addons\Community.pack\lib
E:\xampp\htdocs\MT\addons\Commercial.pack\lib
E:\xampp\htdocs\MT\extlib
E:\xampp\htdocs\MT\extlib
E:\xampp\htdocs\MT\lib
E:/xampp/perl/lib
E:/xampp/perl/site/lib
.
Web server: Apache/2.2.11 (Win32) DAV/2 mod_ssl/2.2.11 OpenSSL/0.9.8i mod_autoindex_color PHP/5.2.8 mod_perl/2.0.4 Perl/v5.10.0
(Probably) Running under cgiwrap or suexec
let me know if you want me to zip up the entire xampp folder with the MT install. As what I would like to create for everyone which would be nice is a complete Xampp / Movable Type dev configuration ready to go...i.e unzip, browse to localhost/mt and everything is setup to install MT
You can post a sanitized version of your mt-config.cgi and post the results for running:
E:\xampp\perl\bin\perl.exe -e "require DBD::MySQL"
E:\xampp\perl\bin>perl.exe -e "require DBD::MySQL"
DBI object version 1.607 does not match $DBI::VERSION 1.604 at E:/xampp/perl/lib
/DynaLoader.pm line 226.
BEGIN failed--compilation aborted at E:/xampp/perl/lib/DBI.pm line 263.
Compilation failed in require at E:/xampp/perl/site/lib/DBD/MySQL.pm line 7.
BEGIN failed--compilation aborted at E:/xampp/perl/site/lib/DBD/MySQL.pm line 7.
Compilation failed in require at -e line 1.
Here is the mt-config.cgi:
# The CGIPath is the URL to your Movable Type directory
CGIPath http://localhost/mt/
# The StaticWebPath is the URL to your mt-static directory
# Note: Check the installation documentation to find out
# whether this is required for your environment. If it is not,
# simply remove it or comment out the line by prepending a "#".
StaticWebPath http://www.example.com/mt-static
#================ DATABASE SETTINGS ==================
# REMOVE all sections below that refer to databases
# other than the one you will be using.
##### MYSQL #####
ObjectDriver DBI::mysql
Database mt
DBUser root
DBPassword root
DBHost localhost
The first part seems to be the culprit. You have a problem with your installation of DBI and DBD. What exact version of XAMPP did you install?
If you are using 1.7, which I think you are based on your version numbers for individual apps there, you might want to downgrade to the previous stable release. Sometimes the XAMPP team doesn't do a very good job at packaging their new releases. I've run into similar problems in the past where they didn't quite sync up the base XAMPP package with the Perl add-on kit properly.
Try dropping down to XAMPP 1.6.5, which was the last stable release that had a reasonably functional Perl distribution. While you're there, get Perl package 5.8.8-2.2.8 (5.8.8 for apache 2.2.8). When I run perl -e "require DBD::MySQL;" that Perl code executes with that configuration.
Yes I am using XAMPP 1.7.0. I will drop down as sugested and let you know if that does the trick.
Thanks again for all your assistance.
I went town to XAMPP 1.6.5 and still come up with the same error:
Got an error: Can't locate object method "configure" via package "MT::ObjectDriverFactory"
Any ideas?
What Perl add-on package did you install?
Ok - I made sure I wnt to XAMPP 1.6.5 and added the perl addon 5.8.8.2.2.3
When I run perl -e "require DBD::MySQL it executes no errors
However, I am still getting the error:
Got an error: Can't locate object method "configure" via package "MT::ObjectDriverFactory" when trying to install?
Have you succesfully installed MT in a clean XAMPP 1.6.5 and perl addon 5.8.8.2.2.3
I just tried it locally, and it worked. Installed, and got the dashboard. This is my mt-config:
CGIPath http://localhost/cgi-bin/mt/
StaticWebPath http://localhost/mt-static
ObjectDriver DBI::mysql
Database mt
DBUser mikerthomsen
DBPassword testing1234
DBHost localhost
At the top of each CGI script I have the following statement:
#!C:/xampp/perl/bin/perl.exe -w
I'm using XAMPP 1.6.5 and Perl 5.8.8 compiled for Apache 2.2.8, not 2.2.3.
Hi, I also had this problem with
Got an error: Can't locate object method "configure" via package "MT::ObjectDriverFactory"
It turns out that some perl libraries were missing: DBI and DBI::Pg (I tried to use PostgresQL database). If you want to use MySQL change DBI::Pg into DBI module suitable for your database.
Hey im having a similar problem can anyone help? I have xampp on windows i know i have perl correctly installed through 'perl -v' in command prompt (windows).
My script headers are right as i can see
#!c:/Perl/bin/perl.exe my scripts run ok in the cmd window aswell.
Placing test scripts in htdocs folder and accessing through 'localhost' path gets a 404 error html headers dont display either? Are there some additional settings i have to sort out? Anyone??
I am also having issues trying to get MT to work using XAMPP.
I am just getting a 404 page, so I know it must be something obvious.
CGIPath http://localhost/cgi-bin/mt/
StaticWebPath http://localhost/mt-static
At the top of all of the .cgi files I have put
#!C:/xampp/perl/bin/perl.exe -w
I tried both upper case and lower case letter for the drive.