RE: [PHP-INST] apache won't start after php compiles

From: Date: Tue, 22 May 2001 19:07:52 +0000
Subject: RE: [PHP-INST] apache won't start after php compiles
References: 1  Groups: php.install 
Request: Send a blank email to php-install+get-3251@lists.php.net to get a copy of this message
Update your /etc/ld.so.conf file with the path of the mysql/lib directory, then run /sbin/ldconfig. After this, Apache should restart properly Rafael -----Original Message----- From: Mike King [mailto:mike@webcodefocus.com] Sent: Martes, 22 de Mayo de 2001 02:43 p.m. To: php-install@lists.php.net Subject: [PHP-INST] apache won't start after php compiles 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@lists.php.net For additional commands, e-mail: php-install-help@lists.php.net To contact the list administrators, e-mail: php-list-admin@lists.php.net

« previous php.install (#3251) next »