[PHP-INST] apache won't start after php compiles From: Mike King (mike <email protected>)
Date: 05/22/01

I got php to compile properly, but apache won't start afterwards. It
complains of an error with the LoadModule. It seems that it can't find
the mysql library, but if I make a symlink to the mysql lib, everything
works fone. What's wrong here?

******************************************************************************
[root init.d]# ./httpd start
Setting up Web Service: Syntax error on line 58 of
/etc/httpd/conf/httpd.conf:
Cannot load /etc/httpd/modules/libphp4.so into server:
libmysqlclient.so.10: cannot open shared object file: No such file or
directory
/usr/sbin/httpd
[root init.d]# ln -s /home/mysql/libmysql/.libs/libmysqlclient.so.10.0.0
/lib/libmysqlclient.so.10

[root init.d]# ./httpd start
Setting up Web Service: chiliasp: module started, version 3.5.2.31
/usr/sbin/httpd

[root init.d]#

******************************************************************************

I tried to get this to work three times, with the same result. In my
./configure command, I used:

--with-mysql=/home/mysql (that's where it is)
--with-mysql (docs said it will find it)
(no mysql directive, docs said it's on by default)

-Mike K.

-- 
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, e-mail: php-install-unsubscribe <email protected>
For additional commands, e-mail: php-install-help <email protected>
To contact the list administrators, e-mail: php-list-admin <email protected>