always_populate_raw_post_data = -1 如果always_populate_raw_post_data没有被注释掉但值不是-1,直接修改其值为-1。 如果没有找到always_populate_raw_post_data,则在文件的适当位置添加always_populate_raw_post_data=-1: 如果搜索后没有发现always_populate_raw_post_data,你可以在文件的末尾或者一个合适...
shell> cd <htdocs>/zabbix//include/classes/setup/ shell> vim CFrontendSetup.php Original code Code: // check for deprecated PHP 5.6.0 option 'always_populate_raw_post_data' if (version_compare(PHP_VERSION, '5.6', '>=')) { $result[] = $this->checkPhpAlwaysPopulateRawPostData(); 1....
'always_populate_raw_post_data' to '-1' [Mon Aug 21 10:30:51.607253 2017] [:error] [pid 4499:tid 139676310546176] [client 106.14.000.000:36848] PHP Deprecated: Automatically populating $HTTP_RAW_POST_DATA is deprecated and will be removed in a future version. To avoid this warning set'...
如果你不属于上述的情况,请查看:https://learn.microsoft.com/zh-cn/windows-server/remote/remote-...
[Mon Aug 21 10:30:51.607253 2017] [:error] [pid 4499:tid 139676310546176] [client 106.14.000.000:36848] PHP Deprecated: Automatically populating $HTTP_RAW_POST_DATA is deprecated and will be removed in a future version. To avoid this warning set'always_populate_raw_post_data' to '-1' in...
[Mon Aug 21 10:30:51.607253 2017] [:error] [pid 4499:tid 139676310546176] [client 106.14.000.000:36848] PHP Deprecated: Automatically populating $HTTP_RAW_POST_DATA is deprecated and will be removed in a future version. To avoid this warning set'always_populate_raw_post_data' to '-1' in...
应写作 $s = file_get_contents('php://input'); $HTTP_RAW_POST_DATA 这个被废弃了,在将来的php版本中还会移除。 让你用 php://input 代替 其它备注:顺便看看 php.in配置文件always_populate_raw_post_data前面的分号是不是没去掉 always_populate_raw_post_data = -1 记得重启PHP服务...
[Mon Aug 21 10:30:51.607253 2017] [:error] [pid 4499:tid 139676310546176] [client 106.14.000.000:36848] PHP Deprecated: Automatically populating $HTTP_RAW_POST_DATA is deprecated and will be removed in a future version. To avoid this warning set'always_populate_raw_post_data' to '-1' in...