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:
Follow these instructions to install additional Perl modules…
Check out the CPAN guide to Installing CPAN Modules.
Here’s an example of how to install the
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/
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
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/.