ID:               46975
 User updated by:  support at silverservers dot com
 Reported By:      support at silverservers dot com
-Status:           Feedback
+Status:           Open
 Bug Type:         PHP options/info functions
 Operating System: CentOS 5.2
 PHP Version:      5.2.8
 Assigned To:      mysql
 New Comment:

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?


Previous Comments:
------------------------------------------------------------------------

[2009-01-01 10:35:35] j...@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

Reply via email to