php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #26155 phpinfo() shows false info
Submitted: 2003-11-06 13:23 UTC Modified: 2003-11-07 03:33 UTC
From: koko at ofi dot hu Assigned:
Status: Not a bug Package: CGI/CLI related
PHP Version: 4.3.4 OS: solaris 9
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: koko at ofi dot hu
New email:
PHP Version: OS:

 

 [2003-11-06 13:23 UTC] koko at ofi dot hu
Description:
------------
On Solaris9-sparc php4.3.4 as fastcgi with Sun ONE Web Server 6.1 phpinfo() show false environment/server variables.

It's shows values from the admin server (SERVER_NAME,PORT,etc.) not from the virtualhost. The getinfo("SERVER_NAME") shows correct values.



Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2003-11-06 14:20 UTC] sniper@php.net
PHP gets/shows whatever the webserver sets those variables at.
No PHP bug here.

 [2003-11-07 03:33 UTC] koko at ofi dot hu
OK. But phpinfo() and getenv() shows different values. That's right?
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Wed Jul 02 14:01:36 2025 UTC