Home > PHP Framework > YII > How to deploy the yii framework

How to deploy the yii framework

王林
Release: 2020-02-19 16:47:40
Original
3119 people have browsed it

How to deploy the yii framework

1. Before deploying the yii framework, you must first set up the php environment.

After the environment is set up, go to the yii official website to download the yii framework.

2. Then unzip the downloaded directory and place it in your php environment directory; here we only need two directories: framework and requirements.

Framework contains the framework file, which is necessary, and requirements is the environment detection file.

(Related tutorial recommendations: yii framework)

3. Check whether the current environment meets the requirements of yii framework, visit http://localost/app/ Yii /requirements will give us our recommended environment configuration.

How to deploy the yii framework

4. After completing the environment, it is time to deploy yii framework. Here we use yiic to deploy

How to deploy the yii framework

5. Press the Windows R key combination or click Start->Execute->cmd to open the CMD command window. If our yiic file is in F:\wamp\www\yii\framework, enter this directory in cmd. Follow the diagram below:

How to deploy the yii framework

The marked place is the path and name of the project. Able to define it yourself.

Then click and enter yes. The project has been created successfully

How to deploy the yii framework

#6. Visit the project address. The following picture appears indicating that the deployment is successful.

How to deploy the yii framework

For more programming-related content, please pay attention to the Programming Introduction column on the php Chinese website.

The above is the detailed content of How to deploy the yii framework. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
yii
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template