apache won't start after php compiles
| From: | Mike King | Date: | Tue, 22 May 2001 18:43:27 +0000 |
| Subject: | apache won't start after php compiles | ||
| Groups: | php.install | ||
| Request: | Send a blank email to php-install+get-3250@lists.php.net to get a copy of this message | ||
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.