Installing Perl and Moveable Type in XAMPP

The following instructions are for installing the PERL addon to XAMPP so that you can then install Moveable Type.

XAMPP is a really great package that allows you to quickly and easily download, install, run and configure a host of services for your Windows computer. These instructions assume that you have installed XAMPP already.

Installing Moveable Type on Windows and XAMMP.

Requirements:

– Working XAMPP installation

  1. Download and install the XAMPP Perl Addon. You can find it on my website:
  2. Run “setup_xampp.bat” in the XAMPP directory and select “1” to run XAMPP with Perl.
  3. Restart XAMPP and verify that Perl is running by going to “Status” in the XAMPP website (http://localhost)
  4. Go to the PHPAdmin tool in XAMPP.
    • – Create a new Database called “mt”
    • – In “Priviledges” create a new user called “mt”, accessible from local only, and give a password and press Go. Also allow access to the “mt” database.
    • – Priviledges should be All except GRANT and DROP
  5. Download MoveableType
  6. *EXTRACT* Moveable Type folder to the Desktop
  7. Using WordPad, edit the following files and make the specified changes:
    • – mt.cfg:
    • CGIPath http://your.ip.address.xxx/cgi-bin/mt/
      ObjectDriver DBI::mysql
      Database mt
      DBUser mt
      DBHost localhost
      EmailAddressMain youremailaddress
      StaticWebPath /class/mt/mt-static
    • – mt-db-pass.cfg:

      Replace “database password” with the password you used for the mt user you created.

    • – All other “.cgi” files
    • – Replace first line (#!/usr/bin/perl/) with path to perl.exe
      eg: #!C:\apachefriends\xampp\perl\bin\perl -w
  8. #7: Create three new folders:
    • mt in the class folder
    • mt-static in the mt folder
    • mt in the cgi-bin folder (in xampp folder)
  9. Move images, docs, mt.js and styles.css into the “mt-static” directory
  10. Move the remaining moveabletype files into the mt directory in CGI-BIN
  11. Go to this website: http://localhost/cgi-bin/mt/mt-check.cgi
  12. Go to this website: http://localhost/cgi-bin/mt/mt-load.cgi
  13. If Successful Delete the file “mt-load.cgi”
  14. Go to this website: http://localhost/cgi-bin/mt/mt.cgi

    Login with

    Username: Melody

    Password: Nelson

  15. In “First WebLog” go to “WebLog Config”
  16. Make the following changes:

    Local Site Path: C:\apachefriends\xampp\htdocs\class\mt

    Site Url: http://your.ip.address.xxx/class/mt

    Local Archive Path: C:\apachefriends\xampp\htdocs\class\mtarchives

    Archive URL: http://your.ip.address.xxx/class/mt/archives/

  17. Click Save… then Rebuild the site.
  18. You’re DONE!

Discover more from Murkyview

Subscribe now to keep reading and get access to the full archive.

Continue reading