PHP 7.1.*安装Zabbix 3.*出现问题
2017-07-13 10:52
393 查看
打开zabbix的web界面看到状态错误:
解决办法:
进入你的zabbixweb程序目录 修改func.inc.php 文件
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] 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->checkPhpPostMaxSize() → str2mem() in include/func.inc.php:410] 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->checkPhpUploadMaxFilesize() → str2mem() in include/func.inc.php:410]
解决办法:
进入你的zabbixweb程序目录 修改func.inc.php 文件
[root@localhost ~]# cd /usr/local/nginx/html/zabbix/include/ [root@localhost include]# sed -i '/$last = strtolower(substr($val, -1));/a$val = substr($val,0,-1);' func.inc.php
相关文章推荐
- 有关编译安装php和php-fpm时出现的问题
- 安装配置zabbix中出现的问题总结
- php扩展模块安装出现问题
- 安装php7及安装memcache扩展出现的新旧php版本兼容扩展的问题
- PHP安装中出现的问题
- 安装集成PHP开发环境出现“计算机中丢失 MSVCR110.dll”问题
- 解决在X64 RedHat5.1、centos、linux 下以编译方式安装PHP 出现的种种问题(转)
- ecshop安装出现问题集合(php版本偏高)
- 解決 64 CPU 位元 compiler时zlib 出现(php安装过程中遇到的问题)
- ubuntu 下源代码安装php出现的问题
- 关于liunx下yum安装mysql+apache+php+phpmyadmin出现的问题
- 奋斗数天!解决在X64 RedHat5.1 下以编译方式安装PHP 出现的种种问题
- 工具mantisbt--将mantis安装到已经搭建好的PHP环境下出现的时区问题
- 升级mac中的系统之后,给PHP安装扩展常出现问题
- 织梦cms安装完成后登录后台出现空白。主要原因是php版本的问题
- Linux 安装编译PHP出现的问题及解决方法
- php安装好wampserver后出现的问题
- windows安装phpstudy(nginx+php) 出现的问题解决
- zabbix安装出现的问题
- 安装Zabbix过程中出现的问题集