Home  >  Article  >  PHP Framework  >  How to write yii download archive file

How to write yii download archive file

爱喝马黛茶的安东尼
爱喝马黛茶的安东尼Original
2019-11-09 09:26:512400browse

How to write yii download archive file

1. Download the latest YII2 advanced application template, which can be directly configured for rapid development. Unzip it after downloading, as shown below:

How to write yii download archive file

Frontend: frontend directory, backend: backend directory. The configuration file and index.php are missing in the official downloaded source code, as shown below:

How to write yii download archive file

You need to enter the directory at this time 'E:\workspace1\YiiMain' (this is my directory), execute init.

Before executing init, you need to ensure that php>5.4 and openssl are enabled

How to write yii download archive file

After execution, open frontend\web and backend\web already has index .php,index-test.php

How to write yii download archive file

Next, just configure the cookie encryption characters (as shown below) and you can run it.

How to write yii download archive file

php Chinese website, a large number of free yii introductory tutorials, welcome to learn online!

The above is the detailed content of How to write yii download archive file. 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

Related articles

See more