Muzak wrote:
Installed php 5.2.1 on tomcat 6.0.10 (on Win XP sp2)
The installation itself works fine and phpinfo() shows the config in the browser.
However all $_SERVER variables seem to be missing.
When executing print_r($_SERVER); all I get is:
Array
(
[REQUEST_TIME] => 1178493222
)
In the php.ini file I currently have:
variables_order = "EGPCS"
register_globals = Off
register_long_arrays = Off
register_argc_argv = Off
auto_globals_jit = On
I've tried other combinations, with auto_globals_jit turned off and all others on, etc..
So in short, what does it take to get $_SERVER variables working?
kind regards,
Muzak
What server variables are available is determined by the server. You'll
have to look into Tomcat's configuration to change that.
[Index of Archives]
[PHP Users]
[PHP Home]
[PHP on Windows]
[Kernel Newbies]
[PHP Classes]
[Postgresql]
[PHP Books]
[PHP Databases]
[PHP SOAP]