Re: php on tomcat missing $_SERVER vars
| From: | Brian Beloian | Date: | Mon, 07 May 2007 03:38:44 +0000 |
| Subject: | Re: php on tomcat missing $_SERVER vars | ||
| References: | 1 | Groups: | php.install |
| Request: | Send a blank email to php-install+get-17999@lists.php.net to get a copy of this message | ||
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 (What server variables are available is determined by the server. You'll have to look into Tomcat's configuration to change that.[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