title: simplexml_load_file not working with no error
body: <p>I have a large xml file (60Mb) that I want to parse and insert each record in MySQL DB. I'm using simpleXML to do so and worked like a charm in Xamp but does not on live hosted website. I get no errors so I dont know why the $xml object keeps returning false. Is it becacause of the large amount of records in the XML?</p>
  
  <pre><code>require('connectDB.php');
  $query = "INSERT INTO myTable (cp,colonia,municipio,ciudad,estado) VALUES (?,?,?,?,?)";
  if($stm = $con-&gt;prepare($query)){
      if(file_exists('CPdescarga.xml')){
          $xml = simplexml_load_file("CPdescarga.xml", 'SimpleXMLElement', LIBXML_COMPACT | LIBXML_PARSEHUGE);
          if($xml === false){
              echo "No se cargó el archivo correctamente";
              foreach (libxml_get_errors() as $error){
                  echo "\t". $error-&gt;message;
              }  
          } else{
              $error = 0;
              foreach($xml-&gt;table AS $registro){
                  $stm-&gt;bind_param('sssss',$registro-&gt;d_codigo,$registro-&gt;d_asenta,$registro-&gt;D_mnpio,$registro-&gt;d_ciudad,$registro-&gt;d_estado);
                  if(!$stm-&gt;execute()){
                      $error++;
                  } 
              }
          echo "Se presentaron $error errores!";
          }
  
      } else{
          echo "No existe el archivo!";
      } 
  
  } else{
      echo "No se pudo preparar la consulta";
  }
  $stm-&gt;close();
  $con-&gt;close();`
  </code></pre>
  
  <p><a href="http://roadtrucking.mx/CPdescarga.xml" rel="nofollow">XML file</a></p>