在centos6上实现LAMP的FPM模式
原理 http 使用一次编译法编译安装, php 独立服务fpm实现。 软件版本 在本次实验中,我们需要用到的软件版本如下: apr-1.6.2 apr-util-1.6.0 httpd-2.4.28 mariadb-5.5.57 php-5.6.31 wordpress-4.8.1 ----博客搭建软件 xcache-3.2.0 ----加速软件 我们先用 rz 命令把所有的安装包上传至 /root/src 目录下,以方便我们的实验。 所有的安装包全部在官网下载,下面附上网址: httpd官网:http://httpd.apache.org/ apr官网:http://apr.apache.org/ mariadb官网:http://mariadb.org/ php官网:http://php.net/ wordpress官网:https://cn.wordpress.org/ xcache官网:http://xcache.lighttpd.net/ 实验前准备 提前安装好软件包组及其相关的包: yum groupinstall "development tools" -y yum install openssl-devel \ expat-devel \ pcre-devel \