#46975 [Asn->Fbk]: checking for mysql_config... not found
| From: | jani@php.net | Date: | Thu, 01 Jan 2009 10:35:35 +0000 |
| Subject: | #46975 [Asn->Fbk]: checking for mysql_config... not found | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-132477@lists.php.net to get a copy of this message | ||
ID: 46975
Updated by: jani@php.net
Reported By: support at silverservers dot com
-Status: Assigned
+Status: Feedback
Bug Type: PHP options/info functions
Operating System: CentOS 5.2
PHP Version: 5.2.8
Assigned To: mysql
New Comment:
Doesn't this work:
--with-pdo-mysql=shared,/usr/local/mysql
Previous Comments:
------------------------------------------------------------------------
[2008-12-30 19:10:39] support at silverservers dot com
Description:
------------
Configure PHP with pdo_mysql fails using --pdo_mysql=shared
"checking for mysql_config... not found"
mysql_config exists and is "found" for other needs via
--with-mysql=/usr/local/mysql
configure for pdo does not seem to follow this path.
TEMPORARY FIX is to symlink:
ln -s /usr/local/mysql/bin/mysql_config /usr/bin/mysql_config
RESOLUTION: Best would be for pdo_mysql option to follow the path
specified in --with-mysql
ENVIRONMENT:
CentOS 5.2 - source-compiled MySQL5.0.51/Apache1.3.41/PHP5.2.8
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=46975&edit=1