Randy, Thanks for your help.
perl -MApache2 -Mmod_perl -e 'print $mod_perl::VERSION' still reports mod_perl-1.29, even after I have done a "make uninstall" in the mod_perl-1.29 source directory, and I have installed the mod_perl-1.99 RPM. Is there any way I can force an unload of mod_perl-1.29? Thanks, IO --- Randy Kobes <[EMAIL PROTECTED]> wrote: > On Sun, 23 Jan 2005, Ixkorr Oxkarr wrote: > > > Hello, > > > > I am trying to upgrade from mod_perl 1.29 to > mod_perl > > 1.99 on Apache 2.0 (the OS is RHL9). > > > > I have installed the mod_perl 1.99 binary RPM, but > > when I check the version through perl (with the > > command perl -Mmod_perl -e 'print > > $mod_perl::VERSION'), I still get 1.29. > > This may depend on the way the rpm was made, but > it might have happened that mod_perl-2 was installed > relative to an Apache2/ subdirectory (so as to not > overwrite existing mod_perl-1 files). Does > perl -MApache2 -Mmod_perl -e 'print > $mod_perl::VERSION' > report the upgraded mod_perl-2? > > > I tried upgrading via CPAN, I get the error > "Cannot > > install mod_perl/1.999.21 on top of > mod_perl/1.29." > > That means that mod_perl wants to install things > relative to > an Apache2/ subdirectory. Try configuring as > perl Makefile.PL MP_INST_APACHE2=1 .... > which will do this for you. See > http://perl.apache.org/docs/2.0/user/install/install.html#Installing_mod_perl_from_Source > for further details. > > > Is there some way I can uninstall mod_perl 1.29 so > > that I can start using mod_perl 1.99? > > With the installation into the Apache2/ > subdirectory, it's > possible to have both mod_perl-1 and mod_perl-2 > installs in > the same perl tree - this may be advantageous if you > want to > upgrade while still keeping the mod_perl-1 > installation > running. > > After installing mod_perl-2, you have to adjust @INC > to see things under the Apache2/ subdirectory - you > can > do this by putting a > use Apache2; > in a startup.pl, or a > PerlModule Apache2 > directive in httpd.conf. See > http://perl.apache.org/docs/2.0/user/config/config.html#Accessing_the_mod_perl_2_0_Modules > for further details. > > -- > best regards, > randy kobes > __________________________________ Do you Yahoo!? Yahoo! Mail - Helps protect you from nasty viruses. http://promotions.yahoo.com/new_mail