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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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/

--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux