Could not open input file: zf.php [duplicate]

南楼画角 提交于 2019-12-12 02:34:27

问题


I am new in zend, so i installed zfTool from here

I use the composer for installing the tool, the command is :

composer require zendframework/zftool:dev-master

But when i run the command : php zf.php version

For example i got this error : Could not open input file: zf.php so please if someone has any idea i will be very appreciative.


回答1:


If you downloaded using composer, you can access the command line of ZfTool as:

vendor/bin/zf.php

For example, to get version:

vendor/bin/zf.php version


来源:https://stackoverflow.com/questions/21829616/could-not-open-input-file-zf-php

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!