From: web at digrel dot com Operating system: Windows Server 2003 Web Ed. PHP version: 4.4.2 PHP Bug Type: IIS related Bug description: PHP Crashes when attempting to load include via http.
Description: ------------ Installed PHP 4.4.0 attempted PHP as ISAPI and CGI with same result. When attempting to access PHP files which contained includes similar to the following: include 'http://www.example.com/file.php?foo=1&bar=2'; IIS 6.0 application space for the particular site crashes and stops processing requests. Reproduce code: --------------- // index.php include 'http://www.domain.com/file.php?foo=1&bar=2'; // file.php echo $_GET[ 'foo' ]; Expected result: ---------------- Expected to see the variable foo printed as 1. Actual result: -------------- ISAPI: When accessing the page from a browser the web site never responds eventually times out and no more PHP pages load after that until a restart of IIS. CGI: When accessing the page from a browser the web site never responds eventually times out. I don't remember if IIS needed restarted after this because it was a production server and I had to downgrade to 4.4.0 which fixed the problem. However, now I am experiencing trouble with the per-directory entries for magic_quotes_gpc() so I would like to upgrade to the fixed version. -- Edit bug report at http://bugs.php.net/?id=37547&edit=1 -- Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=37547&r=trysnapshot44 Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=37547&r=trysnapshot52 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=37547&r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=37547&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=37547&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=37547&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=37547&r=needscript Try newer version: http://bugs.php.net/fix.php?id=37547&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=37547&r=support Expected behavior: http://bugs.php.net/fix.php?id=37547&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=37547&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=37547&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=37547&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=37547&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=37547&r=dst IIS Stability: http://bugs.php.net/fix.php?id=37547&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=37547&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=37547&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=37547&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=37547&r=mysqlcfg