I tried searching for a solution, but couldn't find anything.
I have a script that I know works because several people are running it successfully.
If I run it from the command line, the script will read the config file, but if I run it from Apache2, it doesn't read it. It also will not pass any variables.
I think it worked when I first downloaded it because I got some output in a logfile, but I updated some CPAN perl modules, and now it doesn't work.
I know I updated CGI.pm, and believe this is where my problem lies, but I don't know how to fix it.
I also tried to update mod-perl, but it was unsuccessful and didn't test or install.
There are currently 3 CGI.pm files on my computer. How do I know which one it's using?
Why is there a 5.6.1 directory when I'm running 5.8.0?
[root@server /]# ls -la /usr/lib/perl5/5.8.0/CGI.pm
-rw-r--r-- 1 root root 225773 Jun 17 18:31 /usr/lib/perl5/5.8.0/CGI
[root@server /]# ls -la /usr/lib/perl5/vendor_perl/5.8.0/CGI.pm
-rw-r--r-- 1 root root 210190 Apr 10 2002 /usr/lib/perl5/vendor_pe
[root@server /]# ls -la /opt/sysinfo/perl/lib/5.6.1/CGI.pm
-r-xr-xr-x 1 root bin 208050 Jun 26 16:07 /opt/sysinfo/perl/lib/5.
Thanks in advance for any suggestions!