开发者

$_Server['REQUEST_URI'] seems to have gone... where?

I had a working system with Apache 2.0 and PHP 5.2.6

I have had to upgrade Apache and PHP, so I now have Apache 2.2 and PHP 5.2.12 and for some reason $_SERVER['REQUEST_URI'] is now missing from the super global in PHP.

This is my test system on my dev PC (not a live server) and there are 4 or vhosts on it.

What config should开发者_开发问答 I check in Apache and PHP to make sure this comes back again, as I need it to work?


Do the other $_SERVER values show up? If not, check the value of "variables_order" in php.ini. If it doesn't contain "S" then $_SERVER won't be filled.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜