Monthly Archives: October 2012

Where does PHP get $_SERVER[‘SERVER_NAME’] – Apache versus NGINX

Have you ever wondered where PHP gets the domain name of its server?  I know, the answer is $_SERVER[‘SERVER_NAME’] – but where does that value actually come from?

Posted in Uncategorized | Tagged , , | Comments Off on Where does PHP get $_SERVER[‘SERVER_NAME’] – Apache versus NGINX