You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl@perl.apache.org by Chris Bucchere <bu...@gmail.com> on 2006/06/03 04:45:18 UTC
Newbie question -- how to get Apache to pick up the latest version of perl?
Please forgive the newbie question -- I've been searching but I'm not able
to narrow my results because my search terms are too broad.
As I sure is the case with many folks out there, I have more than one
version of perl on my linux box. In order to install some opensource
software, I upgraded a bunch of perl modules using CPAN and they all went
into my 5.8.8 installation. Unfortunately, Apache can't find them because
it's stuck looking at the 5.8.0 and 5.8.5 installations, per the @INC path.
What do I need to do in order to get Apache to recognize and use the latest
version of perl?
Thanks!
Chris
Re: Newbie question -- how to get Apache to pick up the latest version
of perl?
Posted by "Philip M. Gollucci" <pg...@p6m7g8.com>.
Chris Bucchere wrote:
> Please forgive the newbie question -- I've been searching but I'm not
> able to narrow my results because my search terms are too broad.
>
> As I sure is the case with many folks out there, I have more than one
> version of perl on my linux box. In order to install some opensource
> software, I upgraded a bunch of perl modules using CPAN and they all
> went into my 5.8.8 installation. Unfortunately, Apache can't find them
> because it's stuck looking at the 5.8.0 and 5.8.5 installations, per the
> @INC path.
>
> What do I need to do in order to get Apache to recognize and use the
> latest version of perl?
Well in the context of a mod_perl enabled apache, you must recompile
mod_perl and then load the new one in your httpd.conf config.
IF your talking about apache without mod_perl, its the wrong
mailinglist; but, you can just change the #!/usr/bin/perl line
at the top of the scripts to be the absolute path to the perl you want.
--
------------------------------------------------------------------------
Philip M. Gollucci (pgollucci@p6m7g8.com) 323.219.4708
Consultant / http://p6m7g8.net/Resume/resume.shtml
Senior Software Engineer - TicketMaster - http://ticketmaster.com
1024D/A79997FA F357 0FDD 2301 6296 690F 6A47 D55A 7172 A799 97F
"It takes a minute to have a crush on someone, an hour to like someone,
and a day to love someone, but it takes a lifetime to forget someone..."