Re: two versions of php on same box, on has mysql support the other can't find it?

From: Date: Mon, 09 Oct 2006 05:44:19 +0000
Subject: Re: two versions of php on same box, on has mysql support the other can't find it?
References: 1  Groups: php.db 
Request: Send a blank email to php-db+get-42515@lists.php.net to get a copy of this message
Eddie Peloke wrote:
I have two php versions on one server. One of them has mysql support, the other has mssql support and is used to run scripts via the comand line. I am trying now to compile in mysql support to the command line one and I keep getting: configure: error: Cannot find MySQL header files under yes. checking for specified location of the MySQL UNIX socket... no checking for MySQL UNIX socket location... no configure: error: Cannot find MySQL header files under /usr/lib/php/modules. Note that the MySQL client library is not bundled anymore!
That wasn't your configure line at all - this gives it away: Cannot find MySQL header files under yes. You need to tell php where mysql is: --with-mysql=/usr or --with-mysql=/usr/local/mysql or whatever the case may be on your server. -- Postgresql & php tutorials http://www.designmagick.com/

« previous php.db (#42515) next »