Koozali.org: home of the SME Server

PHP4 DSO Problem

Andrew Reid

PHP4 DSO Problem
« on: January 17, 2001, 03:02:04 AM »
Hello People,

I have run into a wierd problem that I have not seen before. I run Apache/PHP4/Mysql/LDAP/IMP on another server (all compiled from source) and have never heard the following problem.

From the instructions on the excellent Webmail tutorial page, I installed all the modules, and they installed fine.

I tried to restart apache (/etc/rc.d/init.d/httpd restart) but it fails when trying to load the PHP4 DSO.

"API module structure php4_module' in file /etc/httpd/modules/libphp4.so is garbled - perhaps this is not an Apache module DSO?"

I've redownloaded and reinstalled the RPM twice (just to make sure the RPM wasnt corrupt) and still no luck. I've also installed the e-smith-php4 package for the config stuff, but still I have had no luck.

Your help is greatly (needed) and appreciated

Regards

Andrew Reid
andrew.reid@plug.cx

Dan Brown

Re: PHP4 DSO Problem
« Reply #1 on: January 17, 2001, 03:22:19 AM »
You need to be running Apache 1.3.12, which I thought I'd also made linked from that page.

Technical description: The Apache RPM included with e-smith 4.0 was not built with the Extended API (EAPI), which is required for compatibility with mod_ssl.  The apache-1.3.12-2 rpm available for download (which is the same one as included with RedHat 6.2) is built with the EAPI.  Any other RPM which was built with the EAPI (for example, the apache-1.3.9 from Linux-Mandrake) will also work, but 1.3.12 was easier to specify.  This, incidentally, is why I didn't build the PHP RPMs to require apache 1.3.12, because it's not really version-dependent.