宝塔双11特惠活动,企业版2299元/3年,立省700元,还送3年SSL证书!查看活动
当前位置:论坛首页 > Linux面板 > 求助

【待反馈】宝塔某个站点会突然打不开

发表在 Linux面板2023-3-23 16:02 [复制链接] 1 3295

宝塔面板中有个站点会突然打不开,必须要停止站点在重新运行才能访问。查看错误日志提示如下信息
[Thu Mar 23 15:40:18.783689 2023] [proxy_fcgi:error] [pid 13998:tid 140366359484160] [client 223.112.220.202:41884] AH01071: Got error 'PHP message: 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 php.ini and use the php://input stream instead. in Unknown on line 0\n', referer: https://servicewechat.com/wxa09d6b4815ba1807/10/page-frame.html
[Thu Mar 23 15:41:07.506546 2023] [proxy_fcgi:error] [pid 13845:tid 140366502160128] [client 223.112.220.202:41952] AH01071: Got error 'PHP message: 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 php.ini and use the php://input stream instead. in Unknown on line 0\n', referer: https://servicewechat.com/wxa09d6b4815ba1807/10/page-frame.html


已将always_populate_raw_post_data = On改成=always_populate_raw_post_data = -1 但还是不行,还是会不定时突然无法打开,日志中也在不断记录这个错误。请问这个要怎么办?谢谢
微信截图_20230323160212.png


使用道具 举报 只看该作者 回复
发表于 2023-3-23 16:15:08 | 显示全部楼层
您好,将always_populate_raw_post_data前面的" ;"分号去除,然后保存重启PHP服务器,然后您在观察下
使用道具 举报 回复 支持 反对
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

普通问题处理

论坛响应时间:72小时

问题处理方式:排队(仅解答)

工作时间:白班:9:00 - 18:00

紧急运维服务

响应时间:3分钟

问题处理方式:宝塔专家1对1服务

工作时间:工作日:9:00 - 18:30

宝塔专业团队为您解决服务器疑难问题

点击联系技术免费分析

工作时间:09:00至18:30

快速回复 返回顶部 返回列表