Not a developer? Go to MovableType.com

Documentation

Installing Perl Modules

Movable Type requires various standard Perl modules for functionality. Some are required and others are optional.

Check server system information by viewing the mt-check.cgi script to determine which modules are installed and which are needed. Once the Movable Type files are uploaded to the server, the mt-check.cgi script should be accessible at a url like this:

http://domain.com/cgi-bin/mt/mt-check.cgi

Follow these instructions to install additional Perl modules…

Linux, BSD, Mac OSX

Check out the CPAN guide to Installing CPAN Modules.

Here’s an example of how to install the DBI and DBD::MySQL modules (required for a MySQL database) using the CPAN shell:

$ sudo perl -MCPAN -e shell
Terminal does not support AddHistory.
cpan shell -- CPAN exploration and modules installation (v1.7602)
ReadLine support available (try 'install Bundle::CPAN')
cpan> install DBI
cpan> install DBD::MySQL
cpan> quit

The official distributions of DBD::MySQL on CPAN.org: http://search.cpan.org/dist/DBD-mysql/

Windows

In Windows, install with ActivePerl’s Perl Package Manager.

  1. Run Perl Package Manager from the Start menu.
  2. Install the modules required for Movable Type - database interface, etc. (Or “Install the database interface and the modules required for Movable Type”?)
  3. Once the modules have successfully been installed, choose Exit.

If the name of the module is unclear, run a search command. For example, to install the DBI and DBD::MySQL modules required to use MySQL, install using the following:

ppm> install DBI
ppm> install DBD-mysql

Active State’s repository may not contain all the required modules. If necessary, please refer to other supplementary or third-party repositories such as http://theoryx5.uwinnipeg.ca/ppms/.

Back

3 Comments

Mike Baehr on November 24, 2009, 9:54 p.m. Reply

Any support for Time::Cubic?

Adam Gerstein

Adam Gerstein on January 1, 2010, 7:31 a.m. Reply

Is there a recommended way of hand installing into an MT installation? I ask because I don’t have access to CPAN to install in my virtualized server, and my hosting company has been resistant to doing the installs for me.

I seem to recall manually placing a module in the past, but can’t find any notes on it - can anyone help?

1001bonnesaffaires on October 14, 2012, 10:50 a.m. Reply

Which method to use depend of the situation; using the automatic method is easier but assumes you are connected to the Internet; another advantage of using the CPAN shell is that it tries to resolve potential module dependency problems automatically (if you use the manual method, you have to manually resolve this issues). On the other hand, if you already have downloaded the perl module and/or you don’t have Internet access, then the manual method could be the way to go.