LNMP platform PHP7, Zabbix installation may occur problems Always-populate-raw-post-data =-1, Solution:
vim /Directory/zabbix/include/classes/setup/cfrontendsetup.php Find the following code, about Always-populate-raw-post-data; add $ 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. ') ); }
Re-refresh the Zabbix installation page;
This article is from "blog title do not know what to write" blog, please be sure to keep this source http://very1024.blog.51cto.com/3588520/1722902
Zabbix Installing Always-populate-raw-post-data = 1 issue under PHP7