开发者

Unable to create sample application using Yii Framework

开发者 https://www.devze.com 2023-01-16 11:20 出处:网络
I am new to PHP. downloaded \"yii-1[1].1.4.r2429.zip\" file开发者_如何学C. and try to create sample application using Yii PHP framework

I am new to PHP. downloaded "yii-1[1].1.4.r2429.zip" file开发者_如何学C. and try to create sample application using Yii PHP framework

Extracted yii-1[1].1.4.r2429.zip to this path.

C:\xampp\htdocs\yii on windows

and try to create sample application using this guidelines

http://www.yiiframework.com/doc/guide/quickstart.first-app

Run yiic on the command line as follows:

not working.

Please help


Double check that you have PHP CLI (command line) installed and added to your Windows path.

Also, make sure you are running yiic.bat - the Windows script. The plain yiic script (no file extension) is a Unix shell script. You want something like this on Win:

YiiRoot/framework/yiic.bat webapp WebRoot/testdrive

If the .bat script doesn't work, call PHP directly to yiic.php, like so:

php path\to\yii\framework\yiic.php webapp path\to\www\ApplicationName


Your might be able to benefit from XAMPP. It comes pre-packaged and sets up a isolated environment for you, that way you don't have to go through installing php, apache and mysql.

0

精彩评论

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