Re: Problem with php4 and m,ysql

From: Date: Mon, 21 Aug 2000 03:47:02 +0000
Subject: Re: Problem with php4 and m,ysql
References: 1  Groups: php.db 
Request: Send a blank email to php-db+get-2197@lists.php.net to get a copy of this message
GAYTAN BAHAMONDEZ DANIEL EDUARDO wrote: > Hi there, > this is the second time i post on this lists because nobody > answered the first time, if you know how to help me please do. > > here is the problem: i had php3 and mysql working perfectly on my > computer, then i decided to install php4, i configured it with: > > ./configure --with-mysql=/usr/local/mysql/ --with-apxs > > typed make and make install and no problems. > > then modified my httpd.conf to loke like this: > #LoadModule php3_module /usr/lib/apache/libphp3.so > LoadModule php4_module /usr/lib/apache/libphp4.so > > #AddModule mod_php3.c > AddModule mod_php4.c > > but when i restart apache it issues the following error: > Cannot load /usr/lib/apache/libphp4.so into > server: libmysqlclient.so.6: cannot open shared object file: No such file > or directory > > If anyone can help me please do > > thanks in advance looks like you have no libphp4.so in the directory, and you have configure your mysql as shared object to php. I suggest if there is no others use mysql use option --with-mysql; this will be create build in mysql function in php itself. Salman AS

« previous php.db (#2197) next »