On Thu, Feb 11, 2010 at 2:41 PM, Hector Virgen <[email protected]> wrote:

> I ran into similar problems with PHPUnit on my Mac running Zend Server CE.
> My problem was that PHPUnit was using the wrong PHP bin. I edited the file
> /usr/local/bin/phpunit and changed the path to the php bin at the top to
> read:
>
> #!/usr/local/zend/bin/php
>
>
> I hope this helps.
>

Did as you suggested Hector. Here's the output when call phpunit:

$ phpunit
PHP Warning:  PHP Startup: Unable to load dynamic library
'/usr/local/zend/lib/php_extensions/oci8.so' -
dlopen(/usr/local/zend/lib/php_extensions/oci8.so, 9): Library not loaded:
/scratch/plebld/208/rdbms/lib/libclntsh.dylib.10.1
  Referenced from: /usr/local/zend/lib/php_extensions/oci8.so
  Reason: image not found in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library
'/usr/local/zend/lib/php_extensions/pdo_oci.so' -
dlopen(/usr/local/zend/lib/php_extensions/pdo_oci.so, 9): Library not
loaded: /scratch/plebld/208/rdbms/lib/libclntsh.dylib.10.1
  Referenced from: /usr/local/zend/lib/php_extensions/pdo_oci.so
  Reason: image not found in Unknown on line 0
PHP Warning:  require_once(PHPUnit/Util/Filter.php): failed to open stream:
No such file or directory in /usr/bin/phpunit on line 46
PHP Fatal error:  require_once(): Failed opening required
'PHPUnit/Util/Filter.php'
(include_path='.:/usr/local/zend/share/ZendFramework/library:/usr/local/zend/share/pear')
in /usr/bin/phpunit on line 46


Puzzled at this.

-- 
=================
Ron Dyck
[email protected]
www.webbtech.net
=================

Reply via email to