title: PHP- cannot change max_execution_time in xampp
body: <p>I've tried everything to change the <code>max_execution_time</code> of a php crawler script so that it can run an infinite amount of time.</p>
  
  <p>I have changed the php.ini file setting <code>max_execution_time</code> to <code>0</code> or <code>100000000</code> but with no change</p>
  
  <p>I've also tried setting it from the php script itself by using <code>ini_set('max_execution_time', 0);</code></p>
  
  <p>All php scripts throw the same error <code>Fatal error: Maximum execution time of 3000 seconds exceeded</code>, what could I be missing and how can I make sure there is no max execution time limit?</p>
  
  <p><strong>php script</strong></p>
  
  <pre><code>&lt;?php
  ini_set('MAX_EXECUTION_TIME', -1);
  error_reporting(E_ALL);  // turn on all errors, warnings and notices for easier debugging
  //ini_set('max_execution_time', 123456);
  ini_set('max_input_time', -1);
  ini_set('memory_limit', '512M');
  set_time_limit(0);
  date_default_timezone_set('Europe/London');
  
  /*code which scrapes websites*/
  
  ?&gt;
  </code></pre>
  
  <p><strong>phpinfo()</strong></p>
  
  <pre><code>max_execution_time  0   0
  max_input_time     -1   -1
  </code></pre>