Home >PHP Framework >YII >What should I do if the yii2 entry file cannot be found?

What should I do if the yii2 entry file cannot be found?

爱喝马黛茶的安东尼
爱喝马黛茶的安东尼Original
2019-12-07 16:01:212564browse

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.

What should I do if the yii2 entry file cannot be found?

Confirm whether to generate y/n and press Enter.

What should I do if the yii2 entry file cannot be found?

#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!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn