I am a newbie to Yii and love it so far. I am a veteran PHP developer with an MVC background, so this whole framework is great for me.
I am working thru the various examples. Successfully created the "demo" web app BUT when trying to do the simple "Hello Word" example, I have tried to invoke the yiic shell both from my Yii root and from the demo web directory but only get a PHP script.
YiiRoot/framework/yiic shell
I have tried (from the demo directory):
protected/yiic shell
I have followed instructions both in the book and on this forum.
When I do this from the demo directory:
protected/yiic
I get:
Yii command runner (based on Yii v1.1.10)
Usage: protected/yiic <command-name> [parameters...]
The following commands are available:
- message
- migrate
- shell
- webapp
To see individual command help, use the following:
protected/yiic help <command-name>
Since this seems right, I try:
protected/yiic shell
Same result.
Ideas?
Thanks so much for any help
S