|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2005-09-13 06:48 UTC] yusufg at outblaze dot com
[2005-09-13 09:47 UTC] sniper@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Fri Oct 24 18:00:01 2025 UTC |
Description: ------------ On my CentOS 4.1 box running on an Opteron (AMD64) I installed mysql and mysql-devel from the CentOS repos The libraries are installed in /usr/lib64 I have the following configure command for php 5.0.5 ./configure --prefix=/usr/local/site/php50 \ --with-apxs2=/usr/local/site/ap20/bin/apxs \ --disable-ipv6 \ --with-mysql \ --enable-dba \ --with-zlib \ --with-curl \ --with-openssl \ --enable-sqlite-utf8 The output just before configure fails is 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. Reproduce code: --------------- Run the configure command on a CentOS 4.x distro on an AMD64 box Expected result: ---------------- mysql should be configured correctly --with-mysqli takes an argument which is the location of mysql_config. On CentOS 4.1/x86-64, php-5.0.5 configures/compiles correctly if --with-mysqli is used but fails if --with-mysql is used