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

How to write yii download archive file

爱喝马黛茶的安东尼
Release: 2019-11-09 09:26:51
Original
2458 people have browsed it

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!

Related labels:
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