美文网首页
CentOS7 PHP源码包安装

CentOS7 PHP源码包安装

作者: oytian | 来源:发表于2018-01-21 23:21 被阅读0次

1. 从php.net官网下载最新php源码包

2. 解压缩 tar -zxvf php-7.2.1.tar.gz

3. cd 进入解压后的文件夹

4. 执行命令:

./configure --prefix=/usr/local/php --enable-fpm

5. configure成功后,会显示Thank you for using php。

6. 执行 make 命令

7. 执行 make install 命令

相关文章

网友评论

      本文标题:CentOS7 PHP源码包安装

      本文链接:https://www.haomeiwen.com/subject/irqcaxtx.html