LocalLib
This is documentation about a configuration directive, which can be placed within Movable Type’s core configuration file, mt-config.cgi
, to customize the behavior of the system.
Defines the absolute path to a local Perl library. By using local::lib, end users can use their home directories to place Perl libraries without a root privilege.
The path that actually gets searched by Perl may be different than what you’d expect from this directive. Example, when setting this on Linux:
LocalLib /data/www/lib
The relevant folders that are actually searched are:
- /data/www/lib/lib/perl5/x86_64-linux-thread-multi
- /data/www/lib/lib/perl5
If you use that directive, check your System Information screen to verify the exact Perl inclusion path.
This directive was introduced in Movable Type 5.1.
Usage
Value should be a absolute path:
LocalLib /ABSOLUTE/PATH/TO/LIB
François Nonnenmacher on July 22, 2012, 12:18 a.m. Reply
The path that actually gets searched by Perl may be different than what you’d expect from this directive. Example, when setting this on Linux:
The relevant folders that are actually searched are:
If you use that directive, check your System Information screen to verify the exact Perl inclusion path.