From: tallyce at gmail dot com Operating system: Windows7 PHP version: 5.3.1 PHP Bug Type: MySQL related Bug description: Mysqlnd extension needs to read my.ini file for sanity
Description: ------------ http://au2.php.net/manual/en/migration53.incompatible.php states that the Mysqlnd driver doesn't read the my.ini file but instead that mysqli_options() should be used to tell PHP about settings. Can I plead the developers to have a mysqlnd.inifile option or similar? This latest change is very regressive: it means that, for instance, if your database files are stored in a non-standard location, e.g. a data rather than OS C: disk (as specified in my.ini), or any other performance-related setting, these all have to be manually added to script files, making them completely non-portable, or editing through third-party apps (making it time-consuming to upgrade). If such an ini option were added, might it just be a case of just parsing the specified file and passing the found values into whatever interface mysqli_options is using? Reproduce code: --------------- n/a Expected result: ---------------- n/a Actual result: -------------- n/a -- Edit bug report at http://bugs.php.net/?id=50595&edit=1 -- Try a snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=50595&r=trysnapshot52 Try a snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=50595&r=trysnapshot53 Try a snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=50595&r=trysnapshot60 Fixed in SVN: http://bugs.php.net/fix.php?id=50595&r=fixed Fixed in SVN and need be documented: http://bugs.php.net/fix.php?id=50595&r=needdocs Fixed in release: http://bugs.php.net/fix.php?id=50595&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=50595&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=50595&r=needscript Try newer version: http://bugs.php.net/fix.php?id=50595&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=50595&r=support Expected behavior: http://bugs.php.net/fix.php?id=50595&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=50595&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=50595&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=50595&r=globals PHP 4 support discontinued: http://bugs.php.net/fix.php?id=50595&r=php4 Daylight Savings: http://bugs.php.net/fix.php?id=50595&r=dst IIS Stability: http://bugs.php.net/fix.php?id=50595&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=50595&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=50595&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=50595&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=50595&r=mysqlcfg