dongqin1861 2016-11-15 16:06
浏览 81
已采纳

非常慢的wordpress

I have a big problem with my website. 2 days ago it started to have high response times, slow menus, etc...

When I checked the apache log I saw this:

[Tue Nov 15 08:03:02.483834 2016] [cgi:error] [pid 5936] [client
90.164.184.119:35610] End of script output before headers: ea-php56,
referer:     http://m.facebook.com/
[Tue Nov 15 08:03:03.528154 2016] [cgi:error] [pid 6856] [client
90.171.139.86:55239] End of script output before headers: ea-php56,
referer: http://m.facebook.com/

[Tue Nov 15 08:02:48.314544 2016] [cgi:error] [pid 6645] [client
94.143.78.239:54843] AH01215: 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:/usr/local/cpanel/cgi-sys/ea-php56, referer:
http://www.url.es/moreurl....

Apache generates this lines of code each 4 or 5 seconds, i think may be this te cause of the slow server (VPS SSD). I tried to set always_populate_raw_post_data to -1, and the performance has improved, but not even close what it has to be.

The website is based on wordpress, and I hope someone has experience with this issue...

Thanks in advance

  • 写回答

1条回答 默认 最新

  • douxing9813 2016-11-24 12:33
    关注

    Solution: Finally I did set up "always_populate_raw_post_data to -1" and I reinstalled WP Supercache on WP and all it's fine now.

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论

报告相同问题?

悬赏问题

  • ¥15 远程桌面文档内容复制粘贴,格式会变化
  • ¥15 关于#java#的问题:找一份能快速看完mooc视频的代码
  • ¥15 这种微信登录授权 谁可以做啊
  • ¥15 请问我该如何添加自己的数据去运行蚁群算法代码
  • ¥20 用HslCommunication 连接欧姆龙 plc有时会连接失败。报异常为“未知错误”
  • ¥15 网络设备配置与管理这个该怎么弄
  • ¥20 机器学习能否像多层线性模型一样处理嵌套数据
  • ¥20 西门子S7-Graph,S7-300,梯形图
  • ¥50 用易语言http 访问不了网页
  • ¥50 safari浏览器fetch提交数据后数据丢失问题