Home > PHP Framework > YII > body text

How to deploy projects in yii

hzc
Release: 2020-06-15 17:23:29
Original
3969 people have browsed it

How to deploy projects in yii

Deployment method of yii framework (yii framework)
For those who are just starting to learn, it is still difficult to deploy the yii framework. Yii is a component-based, for development High-performance PHP framework for large-scale web applications. Yii provides almost all the features needed for today's Web 2.0 application development. Yii is one of the most efficient PHP frameworks. Let's start the deployment of our Yii framework.

1. Before deploying the Yii framework, you must first set up the PHP environment. I won’t talk about setting up the development environment here. After the environment is set up. Go to the yii official website to download yiiframework

2. Then unzip the downloaded directory and place it in your php environment directory; here we only need two directories: framework and requirements: framework is the framework file, this It is necessary; requirements are environment detection files.

3. Check whether the current environment meets the requirements of yii framework. Visit http://localost/app/Yii/requirements
and our recommended environment configuration will be given:

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

5. Press the Windows R key combination or start->Execute->cmd to open the CMD command form. If our yiic file is in F:\wamp\www\yii\framework, in cmd Enter this directory and follow the steps below:

How to deploy projects in yii

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 projects in yii

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

How to deploy projects in yii

Recommended tutorial: "Yii Getting Started Tutorial"

The above is the detailed content of How to deploy projects in yii. 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