大家好我对这个问题经历了许多相关的问题,但我仍然无法得到解决方案。我已经安装了Zend Server
。现在我想安装PHPunit
。我已安装pear
,然后安装PHPUnit
。在zend服务器上安装phpunit
我的Zend服务器安装在
C:\xyz\zend\ZendServer
我的梨被安装在
C:\xyz\zend\ZendServer\bin\PEAR
并且PHPUnit会被安装在
C:\xyz\zend\ZendServer\bin\PEAR\pear\PHPUnit
我已经加入pear
路径,甚至PHPUnit的路径到Envrionmental PATH
变量。然后我打开php.ini
位于
C:\xyz\zend\ZendServer\etc
,并包含路径设置为
include_path = ".;c:\php\includes;c:\xyz\zend\ZendServer\bin\PEAR\pear;c:\xyz\zend\ZendServer\bin\PEAR\pear\PHPUnit"
现在,当我在CMD运行命令来创建zend的项目,创建项目,但我发现这个还要注意
Testing Note: PHPUnit was not found in your include_path, therefore no testing action will be created.
有人请告诉我我做错了什么和设置这个包括路径?
问候:-)
尝试删除调试代码PHPUnit.bat在Windows – opHASnoNAME
添加到您的Systempath下你真的确认PHPUnit的可以在'C发现:\某某\ Zend的\ ZendServer对其进行访问\ BIN \ PEAR \梨'目录?如果您查看该目录,您应该看到一个名为PHPUnit的目录,并且它应该是PHPUnit php src文件。我问,因为PHPUnit与* bin *目录是不常见的。 –
@BullfrogBlues是的,我很确定:-) –