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"
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
相关阅读 更多
热门阅读
-
office 2019专业增强版最新2021版激活秘钥/序列号/激活码推荐 附激活工具
阅读:74
-
如何安装mysql8.0
阅读:31
-
Word快速设置标题样式步骤详解
阅读:28
-
20+道必知必会的Vue面试题(附答案解析)
阅读:37
-
HTML如何制作表单
阅读:22
-
百词斩可以改天数吗?当然可以,4个步骤轻松修改天数!
阅读:31
-
ET文件格式和XLS格式文件之间如何转化?
阅读:24
-
react和vue的区别及优缺点是什么
阅读:121
-
支付宝人脸识别如何关闭?
阅读:21
-
腾讯微云怎么修改照片或视频备份路径?
阅读:28