php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #6115 phpinfo() uses wrong variable
Submitted: 2000-08-12 01:13 UTC Modified: 2006-04-03 09:41 UTC
Votes:4
Avg. Score:2.5 ± 1.7
Reproduced:2 of 4 (50.0%)
Same Version:1 (50.0%)
Same OS:1 (50.0%)
From: charles at invis dot net Assigned:
Status: Closed Package: Feature/Change Request
PHP Version: 4.3.6 OS: Win2k
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: charles at invis dot net
New email:
PHP Version: OS:

 

 [2000-08-12 01:13 UTC] charles at invis dot net
phpinfo() uses the value of PATH_INFO to build the path for the images. IIS doesn't support PATH_INFO without a reg-hack, but other servers do. PHP should be using SCRIPT_NAME instead. This applies to the ISAPI extension; I've not tested the CGI version.

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-11-20 09:13 UTC] jmoore@php.net
phpinfo() on isapi seems to work fine for me. Please update and give feedback if this still happens

James
 [2000-12-30 11:56 UTC] sniper@php.net
No feedback, considered fixed in > 4.0.1pl2.

--Jani
 [2004-05-12 20:30 UTC] charles at invis dot net
/ext/standard/info.c, lines 410-412

I don't think these are needed. If REQUEST_URI contains any pathinfo the images aren't going to be found.
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Thu Jul 24 03:00:02 2025 UTC