Обновил php
php -v
PHP 7.1.24 (cli) (built: Nov 11 2018 08:03:49) ( NTS )
Copyright (c) 1997-2018 The PHP Group
Zend Engine v3.1.0, Copyright (c) 1998-2018 Zend Technologies
2018/12/13 00:21:27 [error] 5307#0: *1656 FastCGI sent in stderr: "Passing INI directive through FastCGI: unable to set 'always_populate_raw_post_data'" while reading response header from upstream, client: 83.143.xxx.xxx, server: zabbix.xyx.com, request: "GET /zabbix.php?action=dashboard.view HTTP/1.1", upstream: "fastcgi://unix:/run/php7-fpm.sock:", host: "zabbix.xyx.com", referrer: "http://zabbix.xyx.com/zabbix.php?action=dashboard.view"
патчи не работают
In the file CFrontendSetup.php. This file is in /usr/share/zabbix/include/classes/setup/
// check for deprecated PHP 5.6.0 option 'always_populate_raw_post_data' if (version_compare(PHP_VERSION, '7.1', '>=')) { $result[] = $this->checkPhpAlwaysPopulateRawPostData();
Как пофиксить ?
php -v
PHP 7.1.24 (cli) (built: Nov 11 2018 08:03:49) ( NTS )
Copyright (c) 1997-2018 The PHP Group
Zend Engine v3.1.0, Copyright (c) 1998-2018 Zend Technologies
2018/12/13 00:21:27 [error] 5307#0: *1656 FastCGI sent in stderr: "Passing INI directive through FastCGI: unable to set 'always_populate_raw_post_data'" while reading response header from upstream, client: 83.143.xxx.xxx, server: zabbix.xyx.com, request: "GET /zabbix.php?action=dashboard.view HTTP/1.1", upstream: "fastcgi://unix:/run/php7-fpm.sock:", host: "zabbix.xyx.com", referrer: "http://zabbix.xyx.com/zabbix.php?action=dashboard.view"
патчи не работают
In the file CFrontendSetup.php. This file is in /usr/share/zabbix/include/classes/setup/
// check for deprecated PHP 5.6.0 option 'always_populate_raw_post_data' if (version_compare(PHP_VERSION, '7.1', '>=')) { $result[] = $this->checkPhpAlwaysPopulateRawPostData();
Как пофиксить ?
Comment