Yii2 installation

WBOY
Release: 2016-07-28 08:25:49
Original
927 people have browsed it

Reference article:

http://www.yiichina.com/download

http://www.yiichina.com/tutorial/324

My environment:

C:UsersAdministrator>php -v
PHP 5.5.30 (cli) (built: Sep 30 2015 13:50:25)
Copyright (c) 1997-2015 The PHP Group
Zend Engine v2.5.0, Copyright (c) 1998-2015 Zend Technologies

- -------------------------------------------------- -----------------------

It is generally recommended to use Composer to install Yii2, but I personally don't like this installation method very much. After all, the network is very poor. . .

I prefer to install Yii2 from the archive file. Just download the installation package and use a simple command.

The steps are as follows:

1. Download the advanced application template of Yii2

2. Unzip yii-advanced-app-2.0.9.tgz to get the following folder

3. For convenience, copy the advanced folder to WWW directory of phpStudy server, renamed to phpAdv

 Yii2安装

---------------------------------- ------

 Yii2安装

----------------------------------------- ----------------------------------

4. Execute the command in the phpAdv directory: php init, enter according to the prompts After the corresponding options and commands are executed, we will install Yii2. It is simple, why is it so complicated as mentioned on the Internet. . . .

 Yii2安装

-------------------------------------------------- ---------------

 Yii2安装

The above introduces the installation of Yii2, including various aspects. I hope it will be helpful to friends who are interested in PHP tutorials.

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