Problems compiling apache with both mod_perl and php!

Problems compiling apache with both mod_perl and php!

Post by Mats Pettersso » Thu, 15 Jun 2000 04:00:00



Hi!

I have problems compiling apache with both mod_perl and php.

If i choose one or the other it works fine, but there is no info on how to
compile all modules in one go.

The closest i get is when i try (in apache directory)...

./configure --activate-module=src/modules/php/libphp4.a --activate-module=sr
c/modules/libperl.a

Unfortunatly this ends with lots of error messages ("couldn't find apaci")
and aborts.

I'm using apache 1.3.12,php4,mod_perl 1.24. OS is RedHat Linux 6.2

Can anyone point me in the right direction?

By the way, wouldn't it be simpler to have a instalation scheme where you
just untar the modules you want into the apache/src/modules and the apache
configuration includes all modules in that directory automatically?

Why do the all have to be built in different ways?

Mats

 
 
 

Problems compiling apache with both mod_perl and php!

Post by Mats Pettersso » Fri, 16 Jun 2000 04:00:00




Quote:> Hi!

> I have problems compiling apache with both mod_perl and php.

Ok!

I got it compiling now, thanks for the help.

However, i get a segmentation fault every time i try to connect to mySQL
through the DBI module using Embperl. With the exception of DBI calls both
Embperl and PHP seems to work as far as i tested it. I compiled mod_perl and
php as static modules.

If i recompile just the mod_perl module and leave out PHP the DBI calls
work.

Might there be some settings somewhere i should tamper with?

Mats