04-22-2009
38,
0
Join Date: Dec 2008
Last Activity: 3 December 2009, 3:07 AM EST
Posts: 38
Thanks Given: 0
Thanked 0 Times in 0 Posts
Apache2 PHP5 not starting
Hello all. I have a Solaris 10/Sun Ultra10 box and I am trying to build a SAMP server.
The MySQL portion is working and Apache2 seems to be working. However after installing PHP5 I get the following error:
# ./apachectl start
httpd: Syntax error on line 115 of /usr/local/apache2/conf/httpd.conf: Cannot load /usr/local/apache2/modules/libphp5.so into server: ld.so.1: httpd: fatal: libmysqlclient.so.15: open failed: No such file or directory
# cd /usr/local/apache2/modules
# ls -l libphp5.so
-rwxr-xr-x 1 bin bin 7157740 Sep 28 2008 libphp5.so
The crazy thing is, the file libphp5.so is there in the /modules directory as the output shows.
Google is not very helpful. I was wondering if anyone here might have some ideas as to why I am getting this when trying to restart Apache.
I have the following two lines in my httpd.conf file to load php:
LoadModule php5_module modules/libphp5.so
AddType application/x-httpd-php .php
Thank you for your thoughts.
~Robert