Skip to content

Instantly share code, notes, and snippets.

@chonthu
Created October 25, 2011 13:55
Show Gist options
  • Save chonthu/1312794 to your computer and use it in GitHub Desktop.
Save chonthu/1312794 to your computer and use it in GitHub Desktop.
USE PHPUNIT WITH ZEND CE ON MAC OSX LION
1)In ~/.bash_profile make sure
---------------------------------------
PATH=$PATH:/usr/local/zend/bin:/usr/local/zend/mysql/bin
LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/zend/lib
2)
sudo ln -s /usr/lib/libltdl.7.dylib /usr/lib/libltdl.3.dylib
3)
sudo pear channel-discover pear.php-tools.net
sudo pear install pat/vfsStream-alpha
sudo pear config-set auto_discover 1
sudo pear install pear.phpunit.de/PHPUnit
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment