[root@ansible php-5.6.18]# /usr/local/apache2/bin/apachectl restart
[root@ansible php-5.6.18]# lsof -i :80
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
httpd 8307 root 4u IPv6 295815 0t0 TCP *:http (LISTEN)
httpd 8309 www 4u IPv6 295815 0t0 TCP *:http (LISTEN)
httpd 8310 www 4u IPv6 295815 0t0 TCP *:http (LISTEN)
httpd 8312 www 4u IPv6 295815 0t0 TCP *:http (LISTEN)
6、访问测试(如果出现php页面,则说明整合成功)
再简单截图之前编译安装的过程
最后说下如果要在lamp环境下安装编译zabbix 按照如下操作即可
./configure--prefix=/usr/local/zabbix-server --enable-server --with-mysql--with-net-snmp --with-libcurl --with-libxml2
cp -a/home/oldboy/tools/zabbix-3.0.3/frontends/php/* /usr/local/apache2/htdocs/www/