file_get_contents: failed to open stream: Host is down
<p>I am running php5 on my mac osx 10.5.  If I write a simple php script:</p>

<pre><code>&lt;?php
file_get_contents('http://www.google.com');
?&gt;
</code></pre>

<p>And run it in the command line, I get the following error:</p>

<p>"Warning: file_get_contents(<a href="http://www.google.com" rel="nofollow">http://www.google.com</a>): failed to open stream: Host is down"</p>

<p>I'm not sure if I'm missing some setting in php.ini or something. I know if I run the same script off of my server, it executes w/o warning.</p>

<p>Any ideas as to what I'm missing here?</p>

<p>Thanks!</p>
