zoukankan      html  css  js  c++  java
  • PHP 7.1.15安装zabbix-3.2.6出现问题解决

    出现问题,显示

    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]

    这是因为PHP 7.1.7类型强化,处理方法是找到Zabbix WEB目录下include/func.inc.php文件,修改它

    sed -i '/$last = strtolower(substr($val, -1));/a$val = substr($val,0,-1);' func.inc.php

    保存修改后的文件,重新访问zabbix web界面即可

  • 相关阅读:
    TeX中的引号
    竖式问题
    蛇形填数
    开灯问题
    排列
    分数化小数
    子序列的和
    cookie
    post请求
    get请求
  • 原文地址:https://www.cnblogs.com/fyc119/p/8553212.html
Copyright © 2011-2022 走看看