#42079 [NEW]: pdo_mysql always links to 3.x libraries

From: Date: Mon, 23 Jul 2007 11:30:16 +0000
Subject: #42079 [NEW]: pdo_mysql always links to 3.x libraries
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-115343@lists.php.net to get a copy of this message
From: mjsabby at gmail dot com Operating system: Linux PHP version: 6CVS-2007-07-23 (CVS) PHP Bug Type: PDO related Bug description: pdo_mysql always links to 3.x libraries Description: ------------ In PHP6 CVS, the PDO driver for MySQL always uses the MySQL 3.x client API version, according to phpinfo() From what it looks like, phpinfo() is telling the truth here, a connect to the DB failed because of password incompatibility, probably suggesting the client API is 3.x However, I could very well be wrong, and it may just be a phpinfo() output error. I've compiled 5.2.3 with the same config line (plus/minus ICU) and that works as desired. PHP 6 config line: './configure' '--with-apxs2=/usr/local/apache2/bin/apxs' / '--with-mysql=/usr/local/mysql' / '--with-mysqli=/usr/local/mysql/bin/mysql_config' / '--with-pdo-mysql=/usr/local/mysql' --with-icu-dir='/home/mukul/icu' PHP 5.2.3 config line: './configure' '--with-apxs2=/usr/local/apache2/bin/apxs' / '--with-mysql=/usr/local/mysql' / '--with-mysqli=/usr/local/mysql/bin/mysql_config' / '--with-pdo-mysql=/usr/local/mysql' PHP 5.2.3 screen: http://mjsabby.com/pdo523.jpg PHP CVS6 screen: http://mjsabby.com/phpcvs6.jpg Expected result: ---------------- PHP 6 should (or if it's a phpinfo() error, then display) the correct MySQL client API that the PDO has been enabled with. -- Edit bug report at http://bugs.php.net/?id=42079&edit=1 -- Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=42079&r=trysnapshot44 Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=42079&r=trysnapshot52 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=42079&r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=42079&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=42079&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=42079&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=42079&r=needscript Try newer version: http://bugs.php.net/fix.php?id=42079&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=42079&r=support Expected behavior: http://bugs.php.net/fix.php?id=42079&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=42079&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=42079&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=42079&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=42079&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=42079&r=dst IIS Stability: http://bugs.php.net/fix.php?id=42079&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=42079&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=42079&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=42079&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=42079&r=mysqlcfg

« previous php.bugs (#115343) next »