title: Segmentation Fault when running PHP Cli
body: <p>When I type this in shell (Linux):</p>
  
  <pre><code>php index.php
  </code></pre>
  
  <p>Sometime PHP script terminate  and I get an error saying:</p>
  
  <p><strong>Segmentation Fault</strong></p>
  
  <p>Sometime it work fine and sometime I get an error</p>
  
  <p>In the php script it include PDO (mysql), Curl, some loop and "Simple HTML Dom" library</p>
  
  <p>PHP Version:</p>
  
  <pre><code>username [~/www/]# php -v
  PHP 5.2.9 (cli) (built: Oct  9 2010 02:01:46)
  Copyright (c) 1997-2009 The PHP Group
  Zend Engine v2.2.0, Copyright (c) 1998-2009 Zend Technologies
      with the ionCube PHP Loader v3.3.20, Copyright (c) 2002-2010, by ionCube Ltd., and
      with Zend Optimizer v3.3.9, Copyright (c) 1998-2009, by Zend Technolog
  </code></pre>
  
  <p>How to fix this problem? I had no problem when I tested on Windows 7 (PHP 5.3.0).</p>