Home >PHP Framework >YII >What should I do if the yii2 entry file cannot be found?
Today I would like to share some basic knowledge about Yii2. Many developers who are using the framework for the first time cannot find the entry file after officially downloading the advanced template of Yii2. Mainly because the advanced template of Yii2 requires us to manually generate files and generate selections according to our own scene requirements. The specific steps are as follows:
Double-click the init.bat file in the root directory, or cmd to the Yii directory to execute php init command.
Enter the scene to be selected 0 or 1 and press Enter.
Confirm whether to generate y/n and press Enter.
#The entrance file of the framework will be generated in the frontend/web directory and can be accessed through the address.
PHP Chinese website has a large number of free Yii introductory tutorials, everyone is welcome to learn!
The above is the detailed content of What should I do if the yii2 entry file cannot be found?. For more information, please follow other related articles on the PHP Chinese website!