Home  >  Article  >  PHP Framework  >  yii advanced version installation

yii advanced version installation

王林
王林Original
2020-02-18 16:30:112444browse

yii advanced version installation

1. First enter the Yii Framework Chinese Community, download the advanced application template, and unzip it to the environment after the download is complete.

2. Configure the corresponding services

Note: yii2.0 requires the PHP version to be above 5.4, so the environment here is phpstudy.

yii advanced version installation

# Configure the server, save and restart, and then go to the host file to add domain name redirection.

(Recommended tutorial: yii framework)

3. Install the application

After configuring the service, accessing the URL still cannot be blank, so, You also need to install the application here.

Before installation, you need to configure the windows environment first

yii advanced version installation

yii advanced version installation

After completion, run the command in the decompressed directory init.bat file, select 0, and the installation is complete (you need to turn on extension=php_openssl.dll in php.ini before running this step)

yii advanced version installation

At this point, all installation is complete , open the homepage and you will see the following picture:

yii advanced version installation

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 yii advanced version installation. 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