我使用的是widows系统。本来3.7.8版本的phpunit用的是非常顺畅的,最近重新安装phpunit,安装了最小版本,然后在使用的时候就会报很多各种错误。无奈之下只能降版本到3.7.8
首先要卸载PHPUnit 4.0的所有依赖
<span>pear uninstall phpunit/PHPUnit pear uninstall phpunit/DbUnit pear uninstall phpunit/PHP_CodeCoverage pear uninstall phpunit/File_Iterator pear uninstall phpunit/Text_Template pear uninstall phpunit/PHP_Timer pear uninstall phpunit/PHPUnit_MockObject pear uninstall phpunit/PHPUnit_Selenium pear uninstall pear.symfony-project.com/YAML</span>
然后挨个安装组件,按照自己的情况安装吧
<span>pear install pear.symfony-project.com/YAML pear install phpunit/PHPUnit_Selenium pear install phpunit/PHPUnit_MockObject pear install phpunit/PHP_Timer pear install phpunit/File_Iterator pear install phpunit/PHP_CodeCoverage pear install phpunit/Text_Template pear install phpunit/DbUnit pear install phpunit/PHPUnit-3.7.8</span>
我现在使用的是pear安装方式,这个方式将会在2014年12月31日停止支持
顺带分享一下搜集到的一些安装教程
SHOPEX仿M18紫色版 ,适合综合商城,服饰商城.化妆品商城等使用.程序基于SHOPEX4.8.5 最新版制作. 安装方法:1.解压上传程序至网站根目录.. 访问:域名/bak.(用户名:admin 密码:123456)2.进入帝国备份王后,配置数据库信息.选择-www.taomoban.net目录.还原数据库.3.修改FTP目录下的config/config.php 数据库连接信息.4.登陆
0
立即学习“PHP免费学习笔记(深入)”;
PHPUnit.rar
也可以从这个地址下载http://download.csdn.net/download/loneleaf1/7466543
PHP怎么学习?PHP怎么入门?PHP在哪学?PHP怎么学才快?不用担心,这里为大家提供了PHP速学教程(入门到精通),有需要的小伙伴保存下载就能学习啦!
Copyright 2014-2025 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号