upgrade php 5.2.6 -> 5.2.8 mysql problems!
| From: | Merlin Morgenstern | Date: | Mon, 12 Jan 2009 23:25:57 +0000 |
| Subject: | upgrade php 5.2.6 -> 5.2.8 mysql problems! | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-286186@lists.php.net to get a copy of this message | ||
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