+ -
当前位置:首页 → 问答吧 → phpunit 出错,百度了一下找不到原因,教程都差不多

phpunit 出错,百度了一下找不到原因,教程都差不多

时间:2011-09-22

来源:互联网

今天,想装个PHPUNIT,用PEAR来安装,安装完了提示出错,找不到原因,希望哪位大哥帮忙一下
Warning: require_once(PHP/CodeCoverage/Filter.php): failed to open stream: No su
ch file or directory in D:\Program Files\PHPnow-green\php-5.2.14-Win32\phpunit o
n line 38
Fatal error: require_once(): Failed opening required 'PHP/CodeCoverage/Filter.ph
p' (include_path='.;C:\php5\pear') in D:\Program Files\PHPnow-green\php-5.2.14-W
in32\phpunit on line 38

我想应该是php.ini 里的include_path设置有问题,但我不知道要怎么设置

;;;;;;;;;;;;;;;;;;;;;;;;;
; Paths and Directories ;
;;;;;;;;;;;;;;;;;;;;;;;;;
; UNIX: "/path1:/path2"
;include_path = ".:/php/includes"
;
;Windows: "\path1;\path2"
;include_path = ".;c:\php\include"

作者: kinghong24   发布时间: 2011-09-22

phpunit 完全可以单独下载安装

作者: iminto   发布时间: 2011-09-22

相关阅读 更多