title: Trouble with PHPUnit on Zend Server CE - MacOSX
body: <p>I've installed Zend Server CE on my MacOS Lion, and everything is running smooth except from PHPUnit.</p>
  
  <p>My installation of PHPUnit was made from the PERL that comes with Zend Server CE.</p>
  
  <p>Here is the output from when I run phpunit through the console:</p>
  
  <pre><code>Failed loading ”/usr/local/zend/lib/php_extensions/xdebug.so”:      dlopen(”/usr/local/zend/lib/php_extensions/xdebug.so”, 9): image not found
  PHP Warning:  PHP Startup: Unable to load dynamic library     '/usr/local/zend/lib/php_extensions/mcrypt.so' -     dlopen(/usr/local/zend/lib/php_extensions/mcrypt.so, 9): Library not loaded:     /usr/lib/libltdl.3.dylib
    Referenced from: /usr/local/zend/lib/php_extensions/mcrypt.so
    Reason: image not found in Unknown on line 0
  PHP Warning:  Xdebug MUST be loaded as a Zend extension in Unknown on line 0
  PHP Fatal error:  Call to undefined method PHP_CodeCoverage_Filter::getInstance() in     /usr/local/bin/phpunit on line 39
  PHP Stack trace:
  PHP   1. {main}() /usr/local/bin/phpunit:0
  </code></pre>
  
  <p>Does anybody know what the problem or problems could be?</p>
  
  <p>Thanks and regards!</p>