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
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.