From: Operating system: Windows PHP version: 5.3.5 Package: CGI related Bug Type: Bug Bug description:Crash with empty user_ini.filename inside a [PATH] section
Description: ------------ The crash happens with PHP CGI if you are setting user_ini.filename inside a PATH section to none. The PATH section is for the current script. This only happens with Windows. With *nix it's working as expected. In addition, this only happens with PHP5.3.5, but not with PHP5.3.6RC2 (see Bug #54204). Test script: --------------- adding this to "php.ini": [PATH=C:/Users/Public/Documents/htdocs/] user_ini.filename = upload_max_filesize = 5M And then accessing a phpinfo.php through CGI. <?php phpinfo(); ?> Expected result: ---------------- user_ini.filename no value .user.ini upload_max_filesize 5M 2M Actual result: -------------- php-cgi is crashing. -- Edit bug report at http://bugs.php.net/bug.php?id=54206&edit=1 -- Try a snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=54206&r=trysnapshot52 Try a snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=54206&r=trysnapshot53 Try a snapshot (trunk): http://bugs.php.net/fix.php?id=54206&r=trysnapshottrunk Fixed in SVN: http://bugs.php.net/fix.php?id=54206&r=fixed Fixed in SVN and need be documented: http://bugs.php.net/fix.php?id=54206&r=needdocs Fixed in release: http://bugs.php.net/fix.php?id=54206&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=54206&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=54206&r=needscript Try newer version: http://bugs.php.net/fix.php?id=54206&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=54206&r=support Expected behavior: http://bugs.php.net/fix.php?id=54206&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=54206&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=54206&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=54206&r=globals PHP 4 support discontinued: http://bugs.php.net/fix.php?id=54206&r=php4 Daylight Savings: http://bugs.php.net/fix.php?id=54206&r=dst IIS Stability: http://bugs.php.net/fix.php?id=54206&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=54206&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=54206&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=54206&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=54206&r=mysqlcfg