我已经使用本指南安装了梨http://t-machine.org/index.php/2008/12/28/how-to-install-pear-on-os-x-105/
在/etc/php.ini我的include_path = ".:/usr/local/PEAR"
使用sudo pear install phpunit/PHPUnit 将PHPUnit 安装在/usr/local/PEAR/ PHPUnit 下(否则会出错)
然而,当我尝试执行 phpunit 时,我收到了这个错误
Warning: require_once(PHPUnit/Util/Filter.php): failed to open stream: Not a directory in /usr/local/bin/phpunit on line 44
Fatal error: require_once(): Failed opening required 'PHPUnit/Util/Filter.php' (include_path='.:') in /usr/local/bin/phpunit on line 44
我只是想知道是否有人对安装 pear osx 的问题或完整(正确的指南)有所了解。
谢谢!