Apache Environment in phpinfo.php.. Help!

Hello,

I need to set SERVER_NAME Apache Environment variable in phpinfo.php. But it is not showing it correctly. I can give "$SERVER_NAME="$HTTP_HOST";" in phpinfo.php file and that value is taken correctly. But the "SERVER_NAME" in the page is not showing it like that.

Does phpinfo() takes the Apache Environment value directly from the apache virtual host entry for that domain? If so how can I make ServerName take the desired wildcard?

Can some one help me with it?

 

 

 

 

Top