Jump to content

PHP not working with APACHE


nadeemshafi9

Recommended Posts

Hello Guys

 

My apache runs fine but PHP binaries wont install or become compatible

 

I have just removed the RPM of PHP 5 and i installed PHP5 binaries, i then removed Apache RPM and installed the binares of APache 2.2. i have done everything they have said and after trying it with multiple combinations of Apache 1.31, 1.9 and now more successfull with 2.2 i have encountered the following problem in webmin when i add the loadmodules directive to http.conf it says:

 

/usr/local/apache2/bin/apachectl -d /usr/local/apache2/ :

httpd: Syntax error on line 55 of /usr/local/apache2/conf/httpd.conf: Cannot load /usr/lib/httpd/modules/libphp5.so into server: /usr/lib/httpd/modules/libphp5.so: undefined symbol: sqlite3AddCheckConstraint

 

althogh the old apache 2.2 RPM versions directory still exists in /etc i removed it using RPM -e -nodeps

 

i got a few versions

 

apache 2.2 is in usr/local/apache2

apache 2.2 is in usr/local/apache1.9

apache 2.2 is in usr/local/apache1.31

 

ect so i can switch between them in webmin

 

i have installed devel-httpd, this helped my libphp5.so into to be created in the directory where the original RPM kept its modules

 

The question is how do i resolve the above error and is it possible to get these two working on Fedor core 4

 

im trying to get php mysql support

 

Thanks for any help guys

Link to comment
https://forums.phpfreaks.com/topic/57271-php-not-working-with-apache/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.