#37547 [Csd]: PHP Crashes when attempting to load include via http.
| From: | web at digrel dot com | Date: | Mon, 22 May 2006 15:43:30 +0000 |
| Subject: | #37547 [Csd]: PHP Crashes when attempting to load include via http. | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-97449@lists.php.net to get a copy of this message | ||
ID: 37547
User updated by: web at digrel dot com
Reported By: web at digrel dot com
Status: Closed
Bug Type: IIS related
Operating System: Windows Server 2003 Web Ed.
PHP Version: 4.4.2
New Comment:
That's strange because I was using the latest CVS when it happened and
didn't find anything matching this bug on the web site.
Previous Comments:
------------------------------------------------------------------------
[2006-05-22 12:35:27] tony2001@php.net
This issue has been reported 20+ times already and it's fixed in CVS
long ago.
Thanks you for this bug report.
------------------------------------------------------------------------
[2006-05-22 11:51:02] web at digrel dot com
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 this bug report at http://bugs.php.net/?id=37547&edit=1