PHP $_ENV['HOSTNAME'] no longer returns a value
<p>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)</p>

<p>When I run hostname from the command line I get the proper (expected) hostname, also when I do</p>

<p>php -r 'echo $_ENV["HOSTNAME"];'</p>

<p>I get the proper (expected) hostname as well. </p>

<p>Any ideas? Servers are running CentOS.</p>

<p>Thanks</p>
