dongshi1934 2015-05-18 10:06
浏览 23
已采纳

PHP YII框架错误:未知命令“webapp”

I am trying to install Yii framework on windows XP in XAMPP. I am getting this error

Error: Unknown command "webapp".

I am using this command

yii webapp ../../myprojct

I have set the path as

SET PATH=D:\xampp\php

I am using the Yii 2

  • 写回答

2条回答 默认 最新

  • donglu2523 2015-05-18 10:17
    关注

    There is no webapp command anymore in yii2. Creating a project is done with composer create-project --prefer-dist yiisoft/yii2-app-basic basic. Please refer to the official guide for instructions.

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论
查看更多回答(1条)

报告相同问题?