Re: upgrade php 5.2.6 -> 5.2.8 mysql problems!

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

 




Here is the configure command that is pretty much the same as in 5.2.6:

So look at the differences ;)

'./configure' '--enable-fastcgi' '--with-mysql' '--prefix=/usr/local/php' '--with-apxs2=/usr/local/apache2/bin/apxs' '--enable-mbstring' '--with-pdo-mysql=/usr/local/mysql/' '--with-mysql-sock=/tmp' '--enable-soap' '--with-zlib' '--with-freetype-dir=/usr/local/lib' '--with-gd' '--with-jpeg-dir=/usr' '--with-png-dir=/usr/lib' '--enable-exif' '--enable-cli'

<snip>

configure: error: Cannot find MySQL header files under yes.

This gives you the clue - it's not "--with-mysql=yes" or something (no idea where "yes" is actually coming from).

Try --with-mysql=/usr/local/mysql

--
Postgresql & php tutorials
http://www.designmagick.com/


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


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux