Home>Article>Backend Development> Linux php7 installation tutorial
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.
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!