RE: [PHP-DB] Problem with php4 and m,ysql

From: Date: Mon, 21 Aug 2000 09:16:38 +0000
Subject: RE: [PHP-DB] Problem with php4 and m,ysql
Groups: php.db 
Request: Send a blank email to php-db+get-2201@lists.php.net to get a copy of this message
Try > ./configure --with-mysql=/usr/local --with-apxs > Nick > ---------- > From: Salman AS[SMTP:salmanas@telkom.net] > Sent: 21 August 2000 04:47 > To: GAYTAN BAHAMONDEZ DANIEL EDUARDO; php-db@lists.php.net > Subject: Re: [PHP-DB] Problem with php4 and m,ysql > > 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 > > > > -- > PHP Database Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-db-unsubscribe@lists.php.net > For additional commands, e-mail: php-db-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net >

« previous php.db (#2201) next »