打开zabbix的web界面看到状态错误:

1
2
3
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]

PHP 7.1.*安装Zabbix 3.*出现问题

解决办法:

进入你的zabbixweb程序目录 修改func.inc.php 文件

1
2
[[email protected] ~]# cd /usr/local/nginx/html/zabbix/include/
[[email protected] include]# sed -i '/$last = strtolower(substr($val, -1));/a$val = substr($val,0,-1);' func.inc.php

PHP 7.1.*安装Zabbix 3.*出现问题

相关文章:

  • 2021-11-04
  • 2021-10-09
  • 2021-07-04
  • 2021-05-27
  • 2022-12-23
  • 2021-07-19
  • 2022-01-20
  • 2021-11-15
猜你喜欢
  • 2021-12-27
  • 2022-12-23
  • 2021-11-18
  • 2022-12-23
  • 2021-06-03
  • 2021-08-18
相关资源
相似解决方案