ID: 42079 Updated by: [EMAIL PROTECTED] Reported By: mjsabby at gmail dot com -Status: Open +Status: Closed Bug Type: PDO related Operating System: Linux PHP Version: 6CVS-2007-07-23 (CVS) New Comment:
PDO_MYSQL in HEAD is the same as PHP_5_3 for a few weeks now Previous Comments: ------------------------------------------------------------------------ [2007-10-02 21:41:28] [EMAIL PROTECTED] This is not really any bug, just the fact that CVS HEAD (aka PHP 6) has very outdated PDO* sources. It's really linked with whatever libs you have. Hopefully someone gets around to syncing the sources from PHP_5_x branch where they're up-to-date. ------------------------------------------------------------------------ [2007-07-23 11:30:16] mjsabby at gmail dot com 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 this bug report at http://bugs.php.net/?id=42079&edit=1
