Home > Article > PHP Framework > 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:
Frontend: frontend directory, backend: backend directory. The configuration file and index.php are missing in the official downloaded source code, as shown below:
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
After execution, open frontend\web and backend\web already has index .php,index-test.php
Next, just configure the cookie encryption characters (as shown below) and you can run it.
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!