Getting Yii Command Line to Work
I have recently set up Yii and when I try create an app via the command line I get a series of prompts requesting for dlls.
When I go through online resources I cant开发者_开发百科 seem to find anyone who has this issue.
What configurations could I be overlooking?
Check this question: Unable to create sample application using Yii Framework.
You can also ditch the Yii command line tools to create an application and do it by hand though. You only need to do it once (the second time you know that it's dead easy, so it's better to do by hand).
You need to make sure you have PHP installed and in your environment path.
It's very dependent on what the errors are and how you setup your system.
If you're on Windows I'd recommend using a system lie XAMPP or WAMP.
And when you have php in your environment path, it's also good to use full paths in the command line, for example:
php C:/xampp/htdocs/yii/framework/yiic webapp C:/xampp/htdocs/new_name_test
精彩评论