title: PHP how to get server host from PHP.ini
body: <p>How do I read the server host fromPHP.init?</p>
  
  <p>I want to copy a site from my <code>localhost</code> to a production sever and have it work without having to change any code. I figurd that this would be the best way to do it</p>