Ok, thank you for your help!

The information was already from phpinfo(). I have tried now also SEGPC but the effect was the same.

I have now an other file which makes same problem but not with $_SERVER rather with $_REQUEST. Again, if I use it once the warning disappears. I'm not sure but my impression was that in some script the variable is set and others not. Might depend on some circumstances that I don't know. But I'm also not a true php expert.

The site runs on 64bit Linux with PHP 5.4.8 but I don't know the Apache version.

Regards,
Robert



Am 07.11.2012 15:17, schrieb Ivan Habunek:
On 7 November 2012 14:59, Robert Schneider <[email protected]> wrote:
Yes, variables_order is set to EGPCS. Could I savely change the order, in
hope that it might work then?
Hm, I haven't come across this problem. Just did a quick test locally
on windows/apache 2.2/php 5.4.8. My variables_order is set to GPCS by
default. $_SERVER is populated correctly onCLI and on apache.

What's your setup? Make sure you're looking at the right php.ini.
Sometimes apache is configured to use a different php.inii file than
the one used by CLI. It's best if you look at phpinfo() output
instead.

BTW, I'm at apachecon so I might not have enough time to investigate
this. But I'm back home for the weekend.

Regards,
Ivan

Reply via email to