always_populate_raw_post_data was deprecated in PHP 5.3 at which time zabbix frontend setup began to insist that it be set to always_populate_raw_post_data = -1 in the PHP.ini
In PHP 7.0, which Ubuntu 16.04 LTS ships with, always_populate_raw_post_data has been removed completely. Due to this PHP frontend setup gets stuck on always_populate_raw_post_data not being disabled.
The solution is to apply the following patch to the PHP frontend code to ignore PHP 7.0:
always_ populate_ raw_post_ data was deprecated in PHP 5.3 at which time zabbix frontend setup began to insist that it be set to always_ populate_ raw_post_ data = -1 in the PHP.ini
In PHP 7.0, which Ubuntu 16.04 LTS ships with, always_ populate_ raw_post_ data has been removed completely. Due to this PHP frontend setup gets stuck on always_ populate_ raw_post_ data not being disabled.
The solution is to apply the following patch to the PHP frontend code to ignore PHP 7.0:
--- /usr/share/ zabbix/ include/ classes/ setup/CFrontend Setup.php 2016-04-21 01:06:25.603388814 -0400 zabbix/ include/ classes/ setup/CFrontend Setup.php 2016-04-21 01:06:59.980485531 -0400
+++ /usr/share/
@@ -72,7 +72,7 @@
}
// check for deprecated PHP 5.6.0 option 'always_ populate_ raw_post_ data' compare( PHP_VERSION, '5.6', '>=')) { compare( PHP_VERSION, '5.6', '>=') && version_ compare( PHP_VERSION, '7.0', '<') ) {
$result[ ] = $this-> checkPhpAlwaysP opulateRawPostD ata();
$result[ ] = $this-> checkPhpSockets ();
- if (version_
+ if (version_
}