Home>Article>Backend Development> Linux php7 installation tutorial

Linux php7 installation tutorial

藏色散人
藏色散人 Original
2021-09-11 09:54:05 4486browse

linux php7 installation tutorial: 1. Download the corresponding version of php7 and extract it to the specified directory; 2. Install gcc; 3. Install libxml2; 4. Execute "./configure"; 5. Execute "make install" Just run the command to install php7.

Linux php7 installation tutorial

The operating environment of this article: linux5.9.8 system, PHP7.1 version, DELL G3 computer

linux php7 installation tutorial

1. First download the corresponding version of php7 and extract it to the specified directory

2. Install gcc

yum install gcc

3. Install libxml2

yum install -y libxml2-devel

4. Execute ./configure (you can also use –prefix=/usr/local/php) to specify the installation directory!

5. Then execute make

6, make install

7. After the installation is completed, you can execute ./configure –enable-fpm –with-curl …

Load more extension modules!

Recommended learning: "PHP Video Tutorial"

The above is the detailed content of Linux php7 installation tutorial. 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