Home  >  Article  >  Backend Development  >  How to compile and install php7.2?

How to compile and install php7.2?

王林
王林Original
2019-10-17 16:25:472991browse

How to compile and install php7.2?

1. Download the source code of php7.2

2. On the Linux computer where you want to compile php7.2, install make/gcc and other compilation tools , and dependent software packages

How to compile and install php7.2?

3. Unzip the downloaded php7.2 source code compressed package

How to compile and install php7.2?

4. Run ./configure in the source directory to configure before compilation. Here you can add different options according to your needs

How to compile and install php7.2?

5. Finally, add the bin directory of php7.2 to the system variable PATH

How to compile and install php7.2?

6. Then you can use php commands directly

How to compile and install php7.2?

Recommended tutorial: PHP video tutorial

The above is the detailed content of How to compile and install php7.2?. 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