title: simplexml_load_file not working
body: <p>I have this piece of code below which works fine on my remote hosted server, but isnt for some reason working on my local linux machine. Ive tried using file_get_contents as well to get the restful service but it also returns false.</p>
  
  <p>Does anyone know Why this is happening?</p>
  
  <p>thanks :)</p>
  
  <pre><code>$xml_data = simplexml_load_file("****");
  
  if ($xml == FALSE)
  {
    echo "Failed loading XML\n";
  
    foreach (libxml_get_errors() as $error) 
    {
      echo "\t", $error-&gt;message;
    }   
  } 
  </code></pre>