Home > Backend Development > PHP7 > body text

Linux php7 installation tutorial

藏色散人
Release: 2023-02-18 08:08:01
Original
4575 people have browsed it

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
Copy after login

3. Install libxml2

yum install -y libxml2-devel
Copy after login

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!

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
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!