I’m evaluating yii and Laravel,I read some good things about yii on the web and thought I’d go through the documentation. I started going through the Installing Yii from http://www.yiiframework.com/doc-2.0/guide-start-installation.html and when I cam the the Verifying the Installation section I ran
php yii serve
and got the error : Could not open input file: yii
I then moved out of the web directory to the project root and tried again, this time I get: Error: Unknown command "serve".
I then issued a php yii which gave me a list of commands but serve is not one of them.
Is the documentation out of date, was this in version one but now removed ? or am I doing something wrong !
that’s what I did in the end as I use the standard php version when developing vanilla php. I wanted to check as I come from a rails background and we have a built in command which is similar to the yii serve so it made sense to me that it should work.
Shame the documentation is wrong, especially when your new to something.