Re: upgrade php 5.2.6 -> 5.2.8 mysql problems!
| From: | Merlin Morgenstern | Date: | Tue, 13 Jan 2009 12:42:34 +0000 |
| Subject: | Re: upgrade php 5.2.6 -> 5.2.8 mysql problems! | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-286196@lists.php.net to get a copy of this message | ||
Hi there,
has somebody an idea how to fix this? I do appreciate any help.
Thank you in advance, Merlin
Merlin Morgenstern wrote:
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