title: 'Zend_Cache_Exception' with message 'The memcache extension must be loaded for using this backend !' through shell_exec()
body: <p>found a strange error when I call a PHP script (<strong>process.php</strong>) through <strong>shell_exec()</strong>
  message:</p>
  
  <pre><code>Fatal error: Uncaught exception 'Zend_Cache_Exception' with message 'The memcache extension must be loaded for using this backend !' in /Applications/XAMPP/xamppfiles/htdocs/shared_lib/ZendFramework/1.5.2-patched/Zend/Cache.php:208
  </code></pre>
  
  <p>But, I can call the process.php <strong>without any error if I call it in the terminal</strong>.</p>
  
  <p>Pseudo Code:</p>
  
  <p><strong>control.php</strong></p>
  
  <pre><code>// some business logic ....
  shell_exec("php process.php");
  // some business logic ....
  </code></pre>
  
  <p><strong>process.php</strong></p>
  
  <pre><code>// some business logic ....
  call Zend_Cache to retrieve data from memecache
  // some business logic .... 
  </code></pre>