From: wiggum24 at gmail dot com Operating system: Redhat Enterprise Linux PHP version: 5.1.6 PHP Bug Type: MSSQL related Bug description: Chaning mssql.datetimeconvert has no effect
Description: ------------ Trying to set mssql.datetimeconvert to Off in php.ini doesn't work. phpinfo() reports it as On, and the behaviour of the recordset reflects the same. I've confirmed php is picking up the correct php.ini, and my php.ini contains no errors. Calling ini_set("mssql.datetimeconvert","Off"); before I do the query will set the value and the queries will return correctly. Reproduce code: --------------- No errors, the setting just doesn't apply. Expected result: ---------------- datetimes should appear as: 2006-07-20 16:32:00 Actual result: -------------- datetimes appear as: Jul 20 2006 04:32PM -- Edit bug report at http://bugs.php.net/?id=38988&edit=1 -- Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=38988&r=trysnapshot44 Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=38988&r=trysnapshot52 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=38988&r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=38988&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=38988&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=38988&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=38988&r=needscript Try newer version: http://bugs.php.net/fix.php?id=38988&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=38988&r=support Expected behavior: http://bugs.php.net/fix.php?id=38988&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=38988&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=38988&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=38988&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=38988&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=38988&r=dst IIS Stability: http://bugs.php.net/fix.php?id=38988&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=38988&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=38988&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=38988&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=38988&r=mysqlcfg