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
 [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

Add a Patch

Pull Requests

Add a Pull Request

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-2024 The PHP Group
All rights reserved.
Last updated: Thu Apr 25 03:01:29 2024 UTC