faqts : Computers : Programming : Languages : PHP : Installation and Setup : Modules

+ Search
Add Entry AlertManage Folder Edit Entry Add page to http://del.icio.us/
Did You Find This Entry Useful?

28 of 78 people (36%) answered Yes
Recently 3 of 10 people (30%) answered Yes

Entry

Cannot load /etc/httpd/lib/apache/libphp4.so into server: /etc/httpd/lib/apache/libphp4.so: cannot open shared object file: No such file or directory

Jan 13th, 2006 13:47
Christian Roy, Ockham Razer,


I had this same error on my setup.
The architecture was x86_64 (Double Xeon HT Server).
I had installed apache2 using the i386 RPM distribution.
I had compiled PHP from source.  PHP had detected the x86_64 system.
Using PHP as module when compiled for a different system than apache
will cause this error.

I solved my problem by uninstalling apache2 and re-installing the x86_64
RPM version of apache2.

I hope this helps.