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.
- Run Perl Package Manager from the Start menu.
- Install the modules required for Movable Type - database interface, etc. (Or "Install the database interface and the modules required for Movable Type"?)
- 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/.
Mike Baehr
November 24, 2009 9:54 PM | Reply
Any support for Time::Cubic?
Adam Gerstein
January 1, 2010 7:31 AM | 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?