|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2008-12-30 19:10 UTC] 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 PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sun Nov 09 23:00:02 2025 UTC |
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/