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