You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl@perl.apache.org by Derrick Spell <de...@suran.com> on 2004/04/15 18:14:31 UTC
Installing on Apache 2.0.49
Greetings List!
I'm beginning my endeavor into the world of mod_perl and so-far
not-so-good. I can't seem to get it to load. I have Apache 2.0.49 and
mod_perl distribution 1.99_13 and it's all running on a Linux 9.0 box.
I ran the command # perl Makefile.PL MP_APXS=/usr/sbin/apxs
it ran fine
make ran fine
make test had a problem
waiting 120 seconds for server to start: .httpd: module
"/usr/src/build/274778-i386/BUILD/php-4.2.2/sapi/apache2filter/
sapi_apache2.c" is not compatible with this version of Apache (found
20020628, need 20020903).
If i try to restart my apache server I get the message
httpd: module "mod_perl.c" is not compatible with this version of
Apache (found 20020628, need 20020903).
Please contact the vendor for the correct version.
Any suggestions??
-Derrick
Re: Installing on Apache 2.0.49
Posted by Fred Moyer <fr...@taperfriendlymusic.org>.
> I'm beginning my endeavor into the world of mod_perl and so-far
> not-so-good. I can't seem to get it to load. I have Apache 2.0.49
> and mod_perl distribution 1.99_13 and it's all running on a Linux 9.0
> box.
>
> I ran the command # perl Makefile.PL MP_APXS=/usr/sbin/apxs
> it ran fine
Where did you install Apache 2.0.49? You are building mod_perl against
the default Red Hat Apache installation (/usr/sbin/apxs) which is a
couple versions earlier than 2.0.49.
> Any suggestions?
Build mod_perl against your Apache 2.0.49 installation
# perl Makefile.PL MP_APXS=/where/you/installed/2.0.49/bin/apxs
--
Report problems: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html
List etiquette: http://perl.apache.org/maillist/email-etiquette.html
Re: Installing on Apache 2.0.49
Posted by Stas Bekman <st...@stason.org>.
Derrick Spell wrote:
> Greetings List!
>
> I'm beginning my endeavor into the world of mod_perl and so-far
> not-so-good. I can't seem to get it to load. I have Apache 2.0.49 and
> mod_perl distribution 1.99_13 and it's all running on a Linux 9.0 box.
>
> I ran the command # perl Makefile.PL MP_APXS=/usr/sbin/apxs
> it ran fine
>
> make ran fine
>
> make test had a problem
> waiting 120 seconds for server to start: .httpd: module
> "/usr/src/build/274778-i386/BUILD/php-4.2.2/sapi/apache2filter/
> sapi_apache2.c" is not compatible with this version of Apache (found
> 20020628, need 20020903).
mod_php is not our problem :) but see below.
> If i try to restart my apache server I get the message
> httpd: module "mod_perl.c" is not compatible with this version of
> Apache (found 20020628, need 20020903).
> Please contact the vendor for the correct version.
That means that you have lingering files from the older install. Go and nuke
any previously installed mod_perl files and rebuild from scratch. Same for php.
__________________________________________________________________
Stas Bekman JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/ mod_perl Guide ---> http://perl.apache.org
mailto:stas@stason.org http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org http://ticketmaster.com
--
Report problems: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html
List etiquette: http://perl.apache.org/maillist/email-etiquette.html