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
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
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

Add a Patch

Pull Requests

Add a Pull Request

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-2024 The PHP Group
All rights reserved.
Last updated: Sun May 05 07:01:32 2024 UTC