ID: 35848
Comment by: valentijn at depagter dot com
Reported By: shawn dot richards at ink dot ltd dot uk
Status: Feedback
Bug Type: MySQL related
Operating System: Mac OS X Tiger.
PHP Version: 5CVS-2005-12-30 (snap)
Assigned To: andrey
New Comment:
I'm currently experiencing the same problem, with any combination of
the following:
Apache v2.2.2
MySQL v5.0.22 & v5.1.11-beta-i686
PHP 5.1.4 & 5.2 Snapshot (200606221230)
Configuration output:
---------------------
checking for MSSQL support via FreeTDS... no
checking for MySQL support... yes
checking for specified location of the MySQL UNIX socket... no
checking for MySQL UNIX socket location... no
checking for mysql_close in -lmysqlclient... no
checking for mysql_error in -lmysqlclient... no
configure: error: mysql configure failed. Please check config.log for
more information.
---------------------
Tried it with both 5.1.4 and the latest snapshot, which unfortunately
does not resolve the issue.
I can confirm that using MySQL v5.0.18 instead of 5.0.22 or 5.1.x does
work.
I think it is the same as, or at least related to the following bug:
http://bugs.mysql.com/bug.php?id=19817
Every MySQL version below 5.0.20 seems to be unaffected.
Previous Comments:
------------------------------------------------------------------------
[2006-06-20 15:47:37] tony2001@php.net
Please try using this CVS snapshot:
http://snaps.php.net/php5.2-latest.tar.gz
For Windows:
http://snaps.php.net/win32/php5.2-win32-latest.zip
------------------------------------------------------------------------
[2006-06-03 20:19:50] svetlovid at mail dot ru
2 linuxrulez at bk dot ru
Tnx man! All working fine!
I have the same problem.
Arch: i686
OS: Linux Slackware Current (04.06.2006)
MySQL: 5.1.9 beta
Apache 2.2.2
PHP ver. 5.1.4
have a installed glibc 2.3 after installing OS
(minimum installation, but i've check for glibc - its already there)
I have just download next one:
mysql-5.1.9-beta-linux-i686-glibc23.tar.gz
- making a standart installation procedure
- making auto up/down script for system rebooting case.
then install PHP 5.1.4 with this string:
./configure --prefix=/usr/local/php
--with-config-file-path=/usr/local/php --with-mysql=/usr/local/mysql
--with-gd --with-apxs2=/usr/local/apache2/bin/apxs --enable-ftp
--enable-mbstring --with-zlib
and all working DONE!!
Realy tnx!
Best regards,
Oleg
------------------------------------------------------------------------
[2006-05-18 16:10:18] pajoye@php.net
For linux 64 bits system you need to add:
--with-libdir=/lib64 to your configure line
Please ask further support questions to the php installation mailing
list. This is not a support medium.
------------------------------------------------------------------------
[2006-05-18 16:03:24] vktechnology at uk2 dot net
still don't know how to fix this
now I moved to use php 64 bit PHP RPM fedora
I install webmin and download
php-5.1.2-5.x86_64.rpm
http://fr2.rpmfind.net/linux/RPM/index.html
it work for me..
but i prefer ito compile form source..
------------------------------------------------------------------------
[2006-05-17 06:25:55] tony2001@php.net
There is NO SUCH ./configure OPTION like --with-mysql-dir.
Please stop adding useless comments to the report.
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/35848--
Edit this bug report at http://bugs.php.net/?id=35848&edit=1