php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #37547 PHP Crashes when attempting to load include via http.
Submitted: 2006-05-22 11:51 UTC Modified: 2006-05-22 15:43 UTC
From: web at digrel dot com Assigned:
Status: Closed Package: IIS related
PHP Version: 4.4.2 OS: Windows Server 2003 Web Ed.
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: web at digrel dot com
New email:
PHP Version: OS:

 

 [2006-05-22 11:51 UTC] 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.


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2006-05-22 12:35 UTC] 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 15:43 UTC] web at digrel dot com
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.
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Fri Jul 04 14:01:35 2025 UTC