标签:lnmp、php7、zabbix、always-populate-raw-post-data = -1
LNMP 平台 php7 ,zabbix 安装可能会出现的问题 always-populate-raw-post-data = -1,解决方案:
vim /目录/zabbix/include/classes/setup/CFrontendSetup.php 找到下面代码、关于always-populate-raw-post-data; 添加 $current = -1; public function checkPhpAlwaysPopulateRawPostData() { $current = ini_get(‘always_populate_raw_post_data‘); $current = -1; return array( ‘name‘ => _(‘PHP always_populate_raw_post_data‘), ‘current‘ => ($current != -1) ? _(‘on‘) : _(‘off‘), ‘required‘ => _(‘off‘), ‘result‘ => ($current != -1) ? self::CHECK_FATAL : self::CHECK_OK, ‘error‘ => _(‘PHP always_populate_raw_post_data must be set to -1.‘) ); }
重新刷新 zabbix 安装页面即可;
本文出自 “博客标题不知道写啥” 博客,请务必保留此出处http://very1024.blog.51cto.com/3588520/1722902
zabbix 在php7 下安装 always-populate-raw-post-data = -1 问题
标签:lnmp、php7、zabbix、always-populate-raw-post-data = -1
原文地址:http://very1024.blog.51cto.com/3588520/1722902