You can view the output from perl -V at http://ptoc.org/register/perl-V.txt It shows perl 5.8.3 because /usr/local/bin shows up first in the PATH.
When I subscribed to web hosting at globalservers.com it came with /usr/bin/perl 5.6.0 After some recomendations from this mail group I did the following to upgrade perl perl -MCPAN -e shell cpan> install CPAN cpan> install Bundle::Apache::ASP Which installed perl 5.8.3 into the /usr/local/bin directory by default. I thought it would do an upgrade from perl 5.6.0 to 5.8.3. I ended up with two versions of perl. After much trouble, Spencer at globalservers.com installed perl 5.8.0 into /usr/bin. I'm not sure how to get rid of this mess and start over with one version of perl 5.8.3. If we get to one version of perl, then mod_perl and apache will no doubt have to be recompiled. It seems that no matter what Spencer does I still get perl 5.6.0 showing up in my ASP error_log and Apache will not restart with ASP stuff in the httpd.conf file. Steve Brown -----Original Message----- From: Helmut Zeilinger <[EMAIL PROTECTED]> Sent: Jan 29, 2004 6:36 AM To: Steve Brown <[EMAIL PROTECTED]>, [EMAIL PROTECTED] Subject: RE: New Perl 5.8.0 Hi Steve, your Perl configuration is a little bit confusing.. Why did you (they) install perl 5.8.0 and perl 5.8.3 at different locations? What version does "perl -V" give and what @INC does it indicate? What i would do is delete all the different Perl installations - manually - that means, remove all the different Perl interpreters and remove everything under /usr/lib/perlx and /usr/local/lib/perlx and install perl again with the prefix /usr or /usr/local. I think, this would not take as much time as repairing around this strange installation. Of course you have to reinstall all the necessary non-standard modules again. Helmut --On Wednesday, January 28, 2004 19:58:10 -0600 Steve Brown <[EMAIL PROTECTED]> wrote: > > Spencer at globalservers.com has recompiled mod_per and apache using perl > 5.8. See message below. > > We have perl 5.8.0 installed at /usr/bin. > > We have perl 5.8.3 installed at /usr/local/bin > > I have done a /usr/bin/perl -MCPAN -e shell > cpan> install Bundle::Apache::ASP > > and a /usr/local/bin/perl -MCPAN -e shell > cpan> install Bundle::Apache::ASP > > When I put these lines into the /etc/httpd/conf/httpd.conf file: > PerlModule Apache::ASP > <Files ~ (\.asp)> > SetHandler perl-script > PerlHandler Apache::ASP > PerlSetVar Global /home/webadmin/ptoc.org/register > PerlSetVar StateDir /tmp/asp > PerlSetVar UseStrict 0 > PerlSetVar Debug 3 > </Files> > > The Apache web server will not restart and gives no errors in error_log. > > When I comment out these lines and put them in the > /home/webadmin/ptoc.org/register/.htaccess file. I get the following > error when I run my test.asp (Hello World) asp. > > [Wed Jan 28 11:24:58 2004] [alert] [client 207.43.195.204] > /home/webadmin/ptoc.org/register/.htaccess: Can't locate Digest/MD5.pm in > @INC (@INC contains: /usr/lib/perl5/5.6.1/i386-linux /usr/lib/perl5/5.6.1 > /usr/lib/perl5/site_perl/5.6.1/i386-linux /usr/lib/perl5/site_perl/5.6.1 > /usr/lib/perl5/site_perl/5.6.0/i386-linux /usr/lib/perl5/site_perl/5.6.0 > /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.6.1/i386-linux > /usr/lib/perl5/vendor_perl/5.6.1 /usr/lib/perl5/vendor_perl . /etc/httpd/ > /etc/httpd/lib/perl) at /usr/lib/perl5/site_perl/5.6.0/Apache/ASP.pm line > 13. > BEGIN failed--compilation aborted at > /usr/lib/perl5/site_perl/5.6.0/Apache/ASP.pm line 13. > Compilation failed in require at (eval 2) line 3. > > We don't understand why it's showing perl 5.6 in the error message and of > course it doesn't work. > > With the lines commented out here's the error_log entry from a good > restart: [Wed Jan 28 11:23:46 2004] [notice] Apache/1.3.27 (Unix) > (Red-Hat/Linux) PHP/4.1.2 mod_perl/1.26 configured -- resuming normal > operations > > Any help would be appreciated. > > Steve Brown > >> -----Original Message----- >> From: Candland, Spencer [mailto:[EMAIL PROTECTED] >> Sent: Wednesday, January 28, 2004 11:46 AM >> To: 'Steve Brown' >> Subject: RE: New Perl 5.8.0 >> >> I just completely recompiled mod_perl and apache using perl 5.8. Please >> try >> again. If you continue to have problems please make sure there is >> nothing in apache ASP that is specifically referencing perl 5.6. >> >> >> -----Original Message----- >> From: Steve Brown [mailto:[EMAIL PROTECTED] >> Sent: Tuesday, January 27, 2004 7:52 PM >> To: Candland, Spencer >> Subject: RE: New Perl 5.8.0 >> >> >> I am very sorry to report, but from the following error, it appears that >> mod_perl is still using perl 5.6 >> >> [Tue Jan 27 18:42:42 2004] [alert] [client 24.145.166.227] >> /home/webadmin/ptoc.org/register/.htaccess: Can't locate Digest/MD5.pm in >> @INC (@INC contains: /usr/lib/perl5/5.6.1/i386-linux /usr/lib/perl5/5.6.1 >> /usr/lib/perl5/site_perl/5.6.1/i386-linux /usr/lib/perl5/site_perl/5.6.1 >> /usr/lib/perl5/site_perl/5.6.0/i386-linux /usr/lib/perl5/site_perl/5.6.0 >> /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.6.1/i386-linux >> /usr/lib/perl5/vendor_perl/5.6.1 /usr/lib/perl5/vendor_perl . /etc/httpd/ >> /etc/httpd/lib/perl) at /usr/lib/perl5/site_perl/5.6.0/Apache/ASP.pm line >> 13. >> >> Steve Brown >> >> > -----Original Message----- >> > From: Candland, Spencer [mailto:[EMAIL PROTECTED] >> > Sent: Tuesday, January 27, 2004 7:36 PM >> > To: 'Steve Brown' >> > Subject: RE: New Perl 5.8.0 >> > >> > I recompiled mod_perl against perl 5.8 for you. I believe your may >> > need to >> > reinstall apache asp again. >> > >> > >> > -----Original Message----- >> > From: Steve Brown [mailto:[EMAIL PROTECTED] >> > Sent: Tuesday, January 27, 2004 7:15 AM >> > To: Candland, Spencer >> > Subject: New Perl 5.8.0 >> > >> > >> > I have been hit hard by the new MyDoom worm/virus and I may not have >> > received your most recent email. >> > >> > This morning I was checking on things and discovered that I have a new >> > perl >> > 5.8.0 under /usr/bin. >> > >> > I tried to run cpan and it was missing. I copied the two missing files >> > from >> > /usr/local/lib/perl5/5.8.3 >> > >> > I then ran what appears to be a successful Apache ASP using cpan> >> install >> > Bundle::Apache::ASP >> > >> > I put the ASP conf stuff in my ptoc.org/register/.htaccess file and ran >> my >> > test.asp (Hello World) and received the following error in the >> error_log. >> > mod_perl is still compiled to use perl 5.6. >> > >> > >> > [Tue Jan 27 05:33:08 2004] [alert] [client 207.43.195.202] >> > /home/webadmin/ptoc.org/register/.htaccess: Can't locate Digest/MD5.pm >> in >> > @INC (@INC contains: /usr/lib/perl5/5.6.0/i386-linux >> /usr/lib/perl5/5.6.0 >> > /usr/lib/perl5/site_perl/5.6.0/i386-linux >> > /usr/lib/perl5/site_perl/5.6.0 /usr/lib/perl5/site_perl . /etc/httpd/ >> > /etc/httpd/lib/perl) at /usr/lib/perl5/site_perl/5.6.0/Apache/ASP.pm >> > line 13. >> > BEGIN failed--compilation aborted at >> > /usr/lib/perl5/site_perl/5.6.0/Apache/ASP.pm line 13. >> > Compilation failed in require at (eval 3) line 3. >> > >> > Steve Brown >> > >> > Steve Brown Steve Brown --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]