Download the package mod_perl-2.0-current.tar.gz
# tar -zxf mod_perl-2.0-current.tar.gz
# cd mod_perl-2.0.0-RC4/
# perl Makefile.PL MP_APXS=/usr/local/apache2/bin/apxs
# make && make test
# make install
Make sure mod_perl.so already in the /usr/local/httpd/modules
# ls /usr/local/httpd/modules/mod_perl.so
Edit the configuration file for apache.
# vi /usr/local/httpd/conf/httpd.conf
Add the following line to the perl module.
LoadModule perl_module modules/mod_perl.so
PerlModule Apache2
Re-run apache server.
# service httpd restart
Be the first to rate this post
- Currently 0/5 Stars.
- 1
- 2
- 3
- 4
- 5