From: dima at desktopfay dot com Operating system: Windows PHP version: 5.2.5 PHP Bug Type: *Configuration Issues Bug description: PHP.INI file misplaced
Description: ------------ MSI installer creates and modifies PHP.INI file in PHP folder (C:\Program Files\PHP by default); However PHP.INI from *Windows* folder is actually used. Reproduce code: --------------- Try to enable MySQL extension using MSI installer. Delete PHP.INI in Windows folder, which may already exist there (e.g. from v4.x installation). Expected result: ---------------- MySQL functions should work. Actual result: -------------- The PHP.INI is successfully modified in PHP folder. MySQL functions are still not defined. You have to move PHP.INI from PHP folder to Windows folder by hand. Then everything begins to work. -- Edit bug report at http://bugs.php.net/?id=43892&edit=1 -- Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=43892&r=trysnapshot44 Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=43892&r=trysnapshot52 Try a CVS snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=43892&r=trysnapshot53 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=43892&r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=43892&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=43892&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=43892&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=43892&r=needscript Try newer version: http://bugs.php.net/fix.php?id=43892&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=43892&r=support Expected behavior: http://bugs.php.net/fix.php?id=43892&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=43892&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=43892&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=43892&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=43892&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=43892&r=dst IIS Stability: http://bugs.php.net/fix.php?id=43892&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=43892&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=43892&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=43892&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=43892&r=mysqlcfg