|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Stop making mediocre tutorials.The best tutorials are video! Camtasia Studio makes it easy to create engaging, buzz-building screen videos at any size, in any popular format. Download the free trial!
|
|
#1
|
|||
|
|||
|
Hello,
I am trying to install mod_perl with my Apache server. I am using Apache 1.3.9 and mod_perl 1.2.5. When I am trying to run httpd, I get this error in the error log: Apache.pm version 1.27 required! <mod perl installation dir>/Apache.pm is version 1.26 And httpd dies. But when I go to the mod perl installation directory and look at Apache.pm, I see this line: $VERSION = "1.27"; So, it's clearly version 1.27. And I have double-checked the %INC hash in startup.pl - it loads this Apache.pm. So why would it say that it's version 1.26 when it's 1.27? Any help would be appreciated. |
|
#2
|
|||
|
|||
|
You should find out how many Apache.pm are on your system.
find /usr | grep Apache.pm Apache.pm comes with Perl by default and it seems like that's the one being loaded. Anyhow, you can always specify the exact one to use by using use lib "/path/to/Apache.pm/dir"; use dir::Apache; dir is where Apache.pm resides in. |
|
#3
|
|||
|
|||
|
Thanks freebsd, this helped me locate the problem.
|
![]() |
| Viewing: Dev Shed Forums > System Administration > Apache Development > Apache.pm Version Problem |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|