ID: 48158 Comment by: s dot snytkine at gmail dot com Reported By: d dot snytkine at gmail dot com Status: Open Bug Type: PDO related Operating System: RHEL 5 PHP Version: 5.2.9 New Comment:
The is some info from my phpinfo: php version 5.2.9 was build with these config options: '--enable-pdo=shared' '--with-pdo-mysql=shared' '--with-pdo-sqlite=shared' '--with-sqlite=shared' Further down in phpinfo: PDO drivers mysql and then: pdo_mysql PDO Driver for MySQL, client library version 5.0.45 Then in php.ini I have: extension="rar.so" extension="memcache.so" extension="memcached.so" extension="pdo.so" extension="pdo_mysql.so" extension="mailparse.so" extension="uploadprogress.so" Previous Comments: ------------------------------------------------------------------------ [2009-05-06 11:01:26] fel...@php.net I can't reproduce it. Please, check the PHP version again. ------------------------------------------------------------------------ [2009-05-06 03:07:01] d dot snytkine at gmail dot com Description: ------------ Even though the documentation states that this constant is available as of php 5.2.3, In PHP 5.2.9, attempts to use PDO::FETCH_KEY_PAIR result in PHP Fatal error: Undefined class constant 'FETCH_KEY_PAIR' ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=48158&edit=1