php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #25749 PHP globals not defined
Submitted: 2003-10-03 14:52 UTC Modified: 2003-10-03 15:52 UTC
From: linjiang dot ma at myrealbox dot com Assigned:
Status: Not a bug Package: Scripting Engine problem
PHP Version: 4.3.3 OS: Linux Redhat 7.0
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: linjiang dot ma at myrealbox dot com
New email:
PHP Version: OS:

 

 [2003-10-03 14:52 UTC] linjiang dot ma at myrealbox dot com
Description:
------------
Hi, 
   
   I have an server running Apache 1.3.28, mod_perl, mod_ssl, mod_php4 (4.3.3) with mysql. 

   It looks to me that for this 4.3.3 installation. many PHP predefined variables are not defined. 
    
   the only defined PHP variables I can see are _REQUEST and _COOKIE. 

   The testing page is at https://www.myplutus.com/test.php.

TIA,

-martin

   

Reproduce code:
---------------
https://www.myplutus.com/test.php

Expected result:
----------------
under PHP Variable sections, you should see
_SERVER _SESSION _ENV PHP variables.

Actual result:
--------------
only _REQUEST and _COOKIE are shown.

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2003-10-03 15:33 UTC] wez@php.net
Try including the SERVER variable (S) in variables_order.

variables_order="EGPCS"

(RTFM!)
 [2003-10-03 15:50 UTC] linjiang dot ma at myrealbox dot com
Oh, i c. that is the problem. it is fine now, thanks
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Sep 19 17:01:29 2024 UTC