标签:zabbix3.0.2 报错
前几篇有写这个zabbix在LAMP模式下搭建,在此可以安装前一篇lnmp搭建好了,然后套用,这里写一下有些报错修改。
登录zabbix默认账号Admin,密码:zabbix
会提示这个报错:
A non well formed numeric value encountered [zabbix.php:21 → require_once() → ZBase->run() → ZBase->processRequest() → CView->getOutput() → include() → make_status_of_zbx() → CFrontendSetup->checkRequirements() → CFrontendSetup->checkPhpMemoryLimit() → str2mem() in include/func.inc.php:410]
修改zabbix目录下的include里的func.inc.php
sed -i ‘/$last = strtolower(substr($val, -1));/a$val = substr($val,0,-1);‘ /usr/share/nginx/html/zabbix/include/func.inc.php
lnmp(nginx1.10.3+php7.1.2)环境搭建zabbix3.0.2
标签:zabbix3.0.2 报错
原文地址:http://sadoc.blog.51cto.com/12189157/1900574