#46975 [Opn->Asn]: checking for mysql_config... not found
| From: | kalle@php.net | Date: | Fri, 02 Jan 2009 00:33:04 +0000 |
| Subject: | #46975 [Opn->Asn]: checking for mysql_config... not found | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-132493@lists.php.net to get a copy of this message | ||
ID: 46975
Updated by: kalle@php.net
Reported By: support at silverservers dot com
-Status: Open
+Status: Assigned
Bug Type: PHP options/info functions
Operating System: CentOS 5.2
PHP Version: 5.2.8
Assigned To: mysql
Previous Comments:
------------------------------------------------------------------------
[2009-01-01 17:57:30] support at silverservers dot com
I just tried that and yes, the config seems to have run successfully.
I must have spent an hour trying to find the right way to do this...
I've read postings that suggest others have the same issue.
If the --with-mysql=/usr/local/mysql cannot be followed, can someone
post the --with-pdo-mysql=shared,/usr/local/mysql to the configure and
install instructions?
------------------------------------------------------------------------
[2009-01-01 10:35:35] jani@php.net
Doesn't this work:
--with-pdo-mysql=shared,/usr/local/mysql
------------------------------------------------------------------------
[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