title: How do I find my server's IP address in PHP(CLI)
body: <p>Aside from the obvious (localhost, 127.0.0.1) does PHP (command line interface!) have a mechanism for discovering the IP of the computer the script is running on?</p>
  
  <p><code>$_SERVER[*]</code> will not work as this is not a Web app - this is a command line script.</p>
  
  <p>TIA</p>