Red Hat Bugzilla – Bug 1157
mod_perl doesn't work after perl upgrade
Last modified: 2008-05-01 11:37:49 EDT
After upgrading perl to the errata version (perl-5.004m7-1),
mod_perl stops working. Fix - rebuild mod_perl.
I installed a fresh install of 5.2. Updated the from perl-5.004m4-1
to perl-5.004m7-1 available from updates.redhat.com. I was unable to
get this to fail when using mod_perl and running a sample cgi script.
This definitely is a problem for any CGI script that does a 'use CGI'.
Trying to run such a script under mod_perl when the latest Perl
package has been installed from the errata (perl-5.004m7-1) results in
this kind of error in /var/log/httpd/error_log:
[Sun Apr 25 18:01:27 1999] [error] Can't locate overload.pm in @INC
(@INC contains: /usr/lib/perl5/i386-linux/5.00404 /usr/lib/perl5
/usr/lib/perl5/site_perl/i386-linux /usr/lib/perl5/site_perl .
/etc/httpd/ /etc/httpd/lib/perl) at /usr/lib/perl5/CGI.pm line 2832.
overload.pm is located in /usr/lib/perl5/i386-linux/5.00405 in the new