|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #24138 $PATH_INFO no longer works on IIS 5
Submitted: 2003-06-11 17:01 UTC Modified: 2003-06-11 17:12 UTC
From: griffina at rappcollins dot com Assigned:
Status: Not a bug Package: *URL Functions
PHP Version: 4.3.2 OS: IIS/WINNT
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 this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Bug Type:
From: griffina at rappcollins dot com
New email:
PHP Version: OS:


 [2003-06-11 17:01 UTC] griffina at rappcollins dot com
I was running 4.3.1, and $PATH_INFO resolved fine.  I ungraded to 4.3.2 and it no longer seems to work.

Reproduce code:

Name the above file test.php

Type into the browser http://test.php/key/variable

Expected result:
it should print /key/variable

Actual result:
page not found.


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2003-06-11 17:08 UTC]
Try search the bug database BEFORE you report anything..

 [2003-06-11 17:12 UTC] griffina at rappcollins dot com
I did search the database - nothing similiar to the same problem (btween versions 4.3.1 and 4.3.2).  Additionally, I downloaded the most recent snap to see if this issue had been caught, but it had not.  Please advise if I am missing something.
 [2004-04-21 15:32 UTC] mythz at hotmail dot com
Can someone please fix this for php cgi/sapi on iis/windows.

I find this painful as this was working previously with an older version of php and it has yet to be fixed in the latest versions of php.

When trying to view http://localhost/myapp/login.php/ADMIN

returns a 404 error not found page

PHP isapi on IIS:
Warning: Unknown(c:\inetpub\wwwroot\ADMIN): failed to open stream: No such file or directory in Unknown on line 0

Warning: (null)(): Failed opening 'c:\inetpub\wwwroot\ADMIN' for inclusion (include_path='.;c:\php\includes;c:\Inetpub\wwwroot\contentwriter\base\PEAR') in Unknown on line 0

Its about time this bug gets and stays fixed as it is almost impossible to support a cross-platform application written in php that works in more than 1 php version.
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Tue Apr 23 16:01:30 2024 UTC