centos7部署zabbix 3.0
环境:centos7 lnmp平台
一.准备lnmp环境
nginx :1.14.0 mysql:5.6.39 php:5.6.37
安装采用源码编译安装,环境安装根据自己方式来安装
tip:php安装时候加上bcmath gettext ldap扩展
二.配置nginx支持php
1.配置nginx.cong
vi /usr/local/nginx/conf/nginx.conf
server {
listen 80;
server_name localhost;
index index.html index.htm index.php;
#charset koi8-r;
#access_log logs/host.access.log main;
location / {
root /www/;
index index.html index.htm index.php;
}
location ~ \.php$ {
fastcgi_pass 127