Re: [PHP] upgrade php 5.2.6 - 5.2.8 mysql problems!
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=158t=35941start=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
Re: [PHP] upgrade php 5.2.6 - 5.2.8 mysql problems!
Hi, Tuesday, January 13, 2009, 9:25:57 AM, you wrote: MM Hello everybody, MM I am trying to update php 5.2.6 to 5.2.8 on a test system. Somehow it MM can not find the working mysql installation. With 5.2.6 I everything is MM fine. MM Here is the configure command that is pretty much the same as in 5.2.6: MM './configure' '--enable-fastcgi' '--with-mysql' MM '--prefix=/usr/local/php' '--with-apxs2=/usr/local/apache2/bin/apxs' MM '--enable-mbstring' '--with-pdo-mysql=/usr/local/mysql/' MM '--with-mysql-sock=/tmp' '--enable-soap' '--with-zlib' MM '--with-freetype-dir=/usr/local/lib' '--with-gd' '--with-jpeg-dir=/usr' MM '--with-png-dir=/usr/lib' '--enable-exif' '--enable-cli' MM PHP returns: MM checking for MySQL UNIX socket location... /tmp MM configure: error: Cannot find MySQL header files under yes. MM Note that the MySQL client library is not bundled anymore! MM According to a google search mysql-dev is not installed. So I tried to MM get it with yast on the suse 11.0 server. No luck. So I got it via a MM rpm. That returns: MM rpm -i mysql-devel.rpm MM error: Failed dependencies: MM mysql-client is needed by mysql-devel-5.0.26-21.x86_64 MM mysql-shared = 5.0.26 is needed by mysql-devel-5.0.26-21.x86_64 MM libc.so.6()(64bit) is needed by mysql-devel-5.0.26-21.x86_64 MM libc.so.6(GLIBC_2.2.5)(64bit) is needed by MM mysql-devel-5.0.26-21.x86_64 MM libc.so.6(GLIBC_2.3.4)(64bit) is needed by MM mysql-devel-5.0.26-21.x86_64 MM libcrypt.so.1()(64bit) is needed by mysql-devel-5.0.26-21.x86_64 MM libm.so.6()(64bit) is needed by mysql-devel-5.0.26-21.x86_64 MM libnsl.so.1()(64bit) is needed by mysql-devel-5.0.26-21.x86_64 MM libpthread.so.0()(64bit) is needed by mysql-devel-5.0.26-21.x86_64 MM libpthread.so.0(GLIBC_2.2.5)(64bit) is needed by MM mysql-devel-5.0.26-21.x86_64 MM libpthread.so.0(GLIBC_2.3.2)(64bit) is needed by MM mysql-devel-5.0.26-21.x86_64 MM Something must be wrong. I can't believe that there is so much change MM necessary for such a minur upgrade. MM Any ideas? Thank you for any help, MM Merlin try getting rid of the trailing slash ('--with-pdo-mysql=/usr/local/mysql/') -- regards, Tom -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] upgrade php 5.2.6 - 5.2.8 mysql problems!
Hello everybody, I am trying to update php 5.2.6 to 5.2.8 on a test system. Somehow it can not find the working mysql installation. With 5.2.6 I everything is fine. Here is the configure command that is pretty much the same as in 5.2.6: './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' PHP returns: checking for MySQL UNIX socket location... /tmp configure: error: Cannot find MySQL header files under yes. Note that the MySQL client library is not bundled anymore! According to a google search mysql-dev is not installed. So I tried to get it with yast on the suse 11.0 server. No luck. So I got it via a rpm. That returns: rpm -i mysql-devel.rpm error: Failed dependencies: mysql-client is needed by mysql-devel-5.0.26-21.x86_64 mysql-shared = 5.0.26 is needed by mysql-devel-5.0.26-21.x86_64 libc.so.6()(64bit) is needed by mysql-devel-5.0.26-21.x86_64 libc.so.6(GLIBC_2.2.5)(64bit) is needed by mysql-devel-5.0.26-21.x86_64 libc.so.6(GLIBC_2.3.4)(64bit) is needed by mysql-devel-5.0.26-21.x86_64 libcrypt.so.1()(64bit) is needed by mysql-devel-5.0.26-21.x86_64 libm.so.6()(64bit) is needed by mysql-devel-5.0.26-21.x86_64 libnsl.so.1()(64bit) is needed by mysql-devel-5.0.26-21.x86_64 libpthread.so.0()(64bit) is needed by mysql-devel-5.0.26-21.x86_64 libpthread.so.0(GLIBC_2.2.5)(64bit) is needed by mysql-devel-5.0.26-21.x86_64 libpthread.so.0(GLIBC_2.3.2)(64bit) is needed by mysql-devel-5.0.26-21.x86_64 Something must be wrong. I can't believe that there is so much change necessary for such a minur upgrade. Any ideas? Thank you for any help, Merlin -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] upgrade php 5.2.6 - 5.2.8 mysql problems!
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
Re: [PHP] upgrade php 5.2.6 - 5.2.8 mysql problems!
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=158t=35941start=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