简体   繁体   中英

Where is the yiic command?

I downloaded yii framework (both basic and advanced) from http://www.yiiframework.com/download/ . But I could not find yiic command after extracting the zip file. I need to use this command to create migrate file for databases. I wonder where yiic is located? Where can I download this command?

Below is the content of the yii . I didn't find yiic command.

在此输入图像描述

I found that in yii2.0 there is no yiic command any more. Instead I should use yii migrate/create to create a migrate class.

嗨,你会发现yii1.1 yii-> framework->的以下文件夹结构中的所有yiic文件

On your command line, navigate to the advanced folder and run

php init

This will create setup your environment and create yiic.php and other files.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM