开发者

Zend Framework's "zf" CLI tool - why nothing from quickstart works?

I am going through the Zend Framework "quickstart" tutorial at the mo'.

I have PHP and Zend Server Framework on my Ubuntu machine (all installed from Synaptic).

The following zf usage has worked.

zf create project projectToCreate

But, after that, nothing works! For example:

zf enable layouts (it moans "Action 'enable' is not a valid action.")

zf configure db-adapter blahblah (it moans "Action 'configure' is not a valid action.")

SO, my question is, is this an er开发者_如何学Pythonror in the tutorial or is there something fishy with my installation of Zend Framework? If so, any hints are appreciated.

Thank you.


After you create the project try changing directory to projectToCreate.

cd projectToCreate

I think on linux

Then run your zf commands.


It all happening due to XAMPP's version of Zend tool. Remove the Zend folder in php/PEAR/ and also overwrite files at php/ (where php.exe reside) from ZendFramework\bin*.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜