You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
On both my windows and linux machines (with slightly different versions of php) the PHP server started with FiveServer does not provide many of the $_SERVER variables. The same variables ARE available when the PHP server is run on Linux machine with:
php -S localhost:8080
On my Linux (ubuntu 22.04LTS) machine: the fiveServer config is:
Describe the bug
On both my windows and linux machines (with slightly different versions of php) the PHP server started with FiveServer does not provide many of the $_SERVER variables. The same variables ARE available when the PHP server is run on Linux machine with:
php -S localhost:8080
On my Linux (ubuntu 22.04LTS) machine: the fiveServer config is:
The missing variables are those like:
$_SERVER['HTTP_HOST']
$_SERVER['HTTPS']
$_SERVER['REQUEST_METHOD']
and many more
also variables like $_GET or $_POST are always empty, even if there are corresponding requests by the browser.
The text was updated successfully, but these errors were encountered: