LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Can't load php module in Apache (https://www.linuxquestions.org/questions/linux-newbie-8/cant-load-php-module-in-apache-106703/)

pepino 10-21-2003 09:33 AM

Can't load php module in Apache
 
Hey !

I tried to configure php in apache but i'm having some problems:

Added "LoadModule php_module modules/libphp4.so" to httpd.conf and this error ocurred

"
Can't locate API module structure `php_module' in file /etc/httpd/modules/libphp4.so: /usr/lib/libapr.so.0: undefined
"



i would appreciate any help.

pepino

trickykid 10-21-2003 10:14 AM

What version of apache, php?? Did you compile yourself or install from RPM? Or is this the default version that came with what version of Linux, Redhat, Mandrake... etc since you don't mention any of this??

BTW, libapr.so.0 is a library that is part of httpd or apache...

pepino 10-21-2003 10:26 AM

Apache 2.0 over Red Hat 8.0.
It was installed during the Red Hat installation.

I changed in httpd.conf php_module to php4_module and it started correctly, but it still doesn't execute php...


All times are GMT -5. The time now is 07:52 PM.