title: Insert a large data from csv file into database
body: <p>I'm using <em>csvreader.php</em> to process the work. so the problem is when i try to upload file with 30k row in localhost , the script work fine, but when i use it ipage host it gives me <strong><em>Internal Server Error</em></strong> after 30 second.
  this is the code i'm using:</p>
  
  <pre><code>$result = $this-&gt;csvreader-&gt;parse_file('/downloads/test.csv);//path to csv file
  $this-&gt;admin_model-&gt;add_csv($result);
  </code></pre>
  
  <p>and this is the model i'm using:</p>
  
  <pre><code>public function add_csv($data)
      {
          $this-&gt;db-&gt;insert_batch('my_contacts', $data); 
      }
  </code></pre>
  
  <p>As i said before the script work fine on localhost (more than 30k row ) and also on ipage but just if there are less than 1k row . 
  so how can i make this script work on ipage just like localhost</p>