title: Imagick class not found only on a zf2 project
body: <p>I have a gentoo linux amd64 server that runs apache 2.2.22 with PHP 5.4.6.</p>
  
  <p>I have a Zend Framework 2 project that works with zf v2.0 b7.</p>
  
  <p>I installed the Imagick pecl extension using emerge and after restarting apache and viewing
  phpinfo's output I can clearly see that Imagick extension is installed properly.</p>
  
  <p>I added to one of the actions in my Zend Framework project the following line:</p>
  
  <pre><code>$im = new Imagick();
  </code></pre>
  
  <p>when I run the action on my browser I get the following error:</p>
  
  <pre><code>Class 'DrinkManagement\Controller\Imagick' not found
  </code></pre>
  
  <p>now.. if I create a simple php file with this line of code (new imagick) and I run it on console (php-cli) and on my browser it works properly which means that zend framework's file include methods somehow break Imagick. </p>
  
  <p>any ideas ?</p>
  
  <p>any information would be greatly appreciated</p>
  
  <p>thanks</p>
  
  <p>kfir!</p>