Welcome! Log In Create A New Profile

Advanced

[PHP-DEV] $_SERVER mostly empty with default variables_order GPCS on FastCGI/CGI

Posted by Matt Ficken 
There's a new behavior change with $_SERVER on master branch only, that's
broken MediaWiki and should break some other applications.

When variables_order=GPCS(default), $_SERVER is only populated with
PHP_SELF, REQUEST_TIME_FLOAT and REQUEST_TIME (PATH_TRANSLATED, etc... are
missing).

Is this an intentional change that we want?


If variables_order is set to EGPCS then $_SERVER is populated as normal.

I have filed a bug #75982 on this issue:
https://bugs.php.net/bug.php?id=75982


Regards
-Matt
Sorry, only registered users may post in this forum.

Click here to login