Some PHP functions work on localhost, but not VPS
<p>these lines of code work fine on my localhost, but not on my VPS hosting:</p>

<pre><code>$url = "http://gdata.youtube.com/feeds/api/videos/".$videoID;
$doc = new DOMDocument;
$doc-&gt;load($url);
$title = $doc-&gt;getElementsByTagName("title")-&gt;item(0)-&gt;nodeValue; 
$description = $doc-&gt;getElementsByTagName("description")-&gt;item(0)-&gt;nodeValue;
</code></pre>

<p>I can't figure out why they would work on localhost and not my vps which is set up like the exact same as localhost. </p>
