ID: 46975 Updated by: johan...@php.net Reported By: support at silverservers dot com -Status: Assigned +Status: Bogus Bug Type: PHP options/info functions Operating System: CentOS 5.2 PHP Version: 5.2.8 Assigned To: mysql New Comment:
This is a geneal thing, MySQL and PDO independent. From ./configure --help: Extensions: --with-EXTENSION=shared[,PATH] NOTE: Not all extensions can be build as 'shared'. Example: --with-foobar=shared,/usr/local/foobar/ o Builds the foobar extension as shared extension. o foobar package install prefix is /usr/local/foobar/ 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] 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