Re: upgrade php 5.2.6 -> 5.2.8 mysql problems!

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

 



No. The with-pdo-mysql command secures compatibility with oder databases . That workes fine. The yes in the error msg. seams to be normal in this case. I found loads of such via google. e.g:
http://www.rootforum.de/forum/viewtopic.php?f=158&t=35941&start=0

All point to the fact that there needs to be mysql-dev installed. But why? I am already running 5.2.6. And mysql-dev does not come with suse 11. I doubt that this is the cause.

Any other ideas?

Thanx, merlin

Chris schrieb:

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


--
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