title: Set max_execution_time in PHP CLI
body: <p>I know that PHP CLI is usually used because of none time limits and primary because it is not using Apache threads/processes.</p>
  
  <p>But is there any way how to explicitly set the max_execution_time for some scripts which i don't want to have the freedom of "unlimited time" and just want to keep those script under control?</p>
  
  <p>If you think this question may be better answered on superuser.com and have permission to move it, do it. :)</p>
  
  <p><strong>Edit</strong>: I've been Googling a bit and found the right parameter:</p>
  
  <pre><code>php -d max_execution_time=5 script.php
  </code></pre>