先吐槽一下,这个问题真TM恶心啊~~~
Google了一晚上,试了所有能找到的方法,如下:
Testing Note: PHPUnit was not found in your include_path, therefore no testing actions will be created.
Solution:
1. Open the ".zf.ini" file using your text editor.
2. Under php.include_path, add the location where your pear reside.
e.g: C:\Program Files\PHP\PEAR\pear\
3. Save the file and start creating a project in the command line. If everything was setup, correctly the error message should be fixed already.
但是这样就行了吗??
NO,NO - -
你还得执行一个操作:把php.ini这个文件拷贝到c:\windows目录下!!
这。。。你说,得多坑啊。。。
不过还好,最终问题得以解决!
转载于:https://blog.51cto.com/zorro/1224792