I cannot think of a way to add things to $ _SERVER via php.ini (which does not mean that it has no way to do this).
However, you could add things to $ _ENV on the server using SetEnv in httpd.conf (assuming apache here). There are likely methods for doing this with other web servers, but I'm not sure what it is.
source share