A bug in php5 module for Apache HTTP server

I just updated Apache HTTP server and all of its modules on a Solaris 10 x64 server today through blastwave‘s package repository. I noticed that the server can’t load libphp5.so. A google search on the net revealed that this is a well known issue. So, I workedaround the issue by copying /opt/csw/lib/php/sapi/apache2-libphp4.so to /opt/csw/apache2/libexec/apache2-libphp4.so and edit the following lines in /opt/csw/apache2/etc/httpd.conf

Remove/comment out the following line:

LoadModule php5_module        libexec/libphp5.so

and replace it with the following line:

LoadModule php4_module        libexec/apache2-libphp4.so

Change the following line from:

<IfModule php5_module>

to:

<IfModule php4_module>

And start the server. Fortunately, Subversion works with either php4 or php5 and I was able to start the server and get Subversion server running again. 🙂

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s