0

我在命令行上运行它:phpunit --version

我收到以下错误:

PHP Warning:  require_once(File/Iterator/Autoload.php): failed to open stream: No such file or directory in /usr/lib/php/pear/PHPUnit/Autoload.php on line 45
PHP Fatal error:  require_once(): Failed opening required 'File/Iterator/Autoload.php' (include_path='.:/Users/dennismonsewicz/pear/share/pear:/usr/local/share/pear:/usr/lib/php/pear/PHPUnit') in /usr/lib/php/pear/PHPUnit/Autoload.php on line 45

还有其他人遇到这些问题吗?当我尝试通过命令行运行测试时,它也会给我带来问题。

4

1 回答 1

3

结束了我的 include_path 的问题

这是我更新的包含路径

include_path = ".:/php/includes:/usr/lib/php/pear"
于 2013-01-14T20:00:40.710 回答