From: norbi dot nagy at gmail dot com Operating system: Linux 2.6.18-6-amd64 PHP version: 5.2.6 PHP Bug Type: *Compile Issues Bug description: pdo_mysql configure parameter ignored
Description: ------------ The configure script ignores the path in --with-pdo-mysql option. Reproduce code: --------------- My configure line: ./configure --with-apache=../apache_1.3.41 --with-libdir=lib64 --with-mysql-dir=/usr/local/mysql51 --with-pdo-mysql=/usr/local/mysql51 --with-curl --with-curlwrappers --with-zlib --enable-ftp --enable-mbstring=all --with-iconv --with-freetype --with-gd --with-png --with-jpeg --with-openssl --with-libexpat --with-xsl --enable-xslt --with-xslt-sablot --with-sablot-js --with-mcrypt Expected result: ---------------- The configure script uses the /usr/local/mysql51 path for pdo-mysql extension. Actual result: -------------- The configure script uses the /usr/local/mysql (this is a symlink to a mysql 5.0 installation) path instead of the configured one. When I delete this symlink, the configure script uses the correct configured path. I tried the --with-mysql option instead of --with-mysql-dir, but the result was the same. -- Edit bug report at http://bugs.php.net/?id=46219&edit=1 -- Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=46219&r=trysnapshot52 Try a CVS snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=46219&r=trysnapshot53 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=46219&r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=46219&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=46219&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=46219&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=46219&r=needscript Try newer version: http://bugs.php.net/fix.php?id=46219&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=46219&r=support Expected behavior: http://bugs.php.net/fix.php?id=46219&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=46219&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=46219&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=46219&r=globals PHP 4 support discontinued: http://bugs.php.net/fix.php?id=46219&r=php4 Daylight Savings: http://bugs.php.net/fix.php?id=46219&r=dst IIS Stability: http://bugs.php.net/fix.php?id=46219&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=46219&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=46219&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=46219&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=46219&r=mysqlcfg