Hi when I echo $_ENV['HOSTNAME'] from a PHP script it no longer works, it used to (I think my server hosting company has changed a setting but I cant think what)
When I run hostname from the command line I get the proper (expected) hostname, also when I do
php -r 'echo $_ENV["HOSTNAME"];'
I get the proper (expected) hostname as well.
Any ideas? Servers are running CentOS.