Get the App
SLTechnology News&Howtos  ›  Development  › 

What is the minimum yii2 for php version

Shulou Source: shulou.com Published: 2022-06-03 06:06:36 11月16日 Update

This article shows you what the minimum yii2 version of php is, the content is concise and easy to understand, and it will definitely brighten your eyes. I hope you can get something through the detailed introduction of this article.

What is the minimum php version number required to install yii2?

Yii2 2.0.14 has been released. Yii 2 is rewritten entirely based on version 1.1 of Yii, which is one of the most popular PHP frameworks. Yii 2 inherits the simplicity, speed, and high scalability of Yii. Yii 2 requires PHP 5.4 and has the best examples and protocols in modern Web application development.

Recommended study: yii tutorial

Yii2.0 installation, the official provides two installation methods, one is to install through composer, and the other is to download the installation package directly with yii1.0 to install. As for the installation of the first kind of composer, there will be no extra instructions here. This article will give you a detailed description of the second way to install yii2.0 through the official installation package.

Yii2.0 basic installation

Let's talk about the editor's PHP environment first. My company's environment is the wamp integrated environment, the home's own configuration of the nginx+PHP+mysql environment. However, yii2.0 still has a mandatory requirement for the version of PHP, which must be

Yii 2.0 requires PHP 5.4 or later, which is a significant improvement over PHP 5.2 required by Yii 1.1. Therefore, there are many noteworthy differences at the language level. The following is a summary of the major changes in the PHP layer:

● Namespace

● anonymous function

● array short syntax [. Element.] Used to replace array (. Element.)

Short format echo tags in ● view files

Tags: Version environment minimum base key file Lai an support success element content method official skill knowledge or yes configuration different wrong Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Docker NVidia Shulou Technology MySQL Linux