Reputation: 5157
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
Upvotes: 0
Views: 1615
Reputation: 996
Download yii2 file from Yii2 Framework website and extract it htdocs. then open the command prompt, use cd command to map the folder directory and finally use this command to install this
htdocs/foldername>php init
I hope this will help you, Thank You
Upvotes: -1
Reputation: 1546
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.
Upvotes: 6