Apache2 with mod_perl not starting
Hi - fresh install of Apache2 running fine on my Kubuntu box. Managed to install PHP and SQL without trouble, but mod_perl is a different story. After running ./configure with APXS and make / make install, Apache refuses to start.
The output in the apache log is Code:
Can't locate apache2.pm in @INC(@INC contains: /etc/perl /usr/local/lib/perl/5.8.8 /usr/local/share/perl/5.8.8 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.8 /usr/share/perl/5.8 /usr/local/lib/site_perl . /usr/local/apache2) at (eval 2) line 3.\n |
Did you recompile apache with mod perl extensions?
If u have used apt-get it would work I belive. It does for me. apt-get update apt-get install apache2-mod-perl2 |
Do you have the file apache2.pm? It looks like it's missing. Try copying it to one of the paths it mentions. I think you missed some step in the installation...
|
Ooh, never mind...commenting out the offending line in the httpd.conf allows the server to start; and according to the system log, mod_perl 2.0.3 is installed correctly. All I need now is to test it.
|
All times are GMT -5. The time now is 02:47 PM. |