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.

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

报告相同问题?

悬赏问题

  • ¥20 matlab yalmip kkt 双层优化问题
  • ¥15 如何在3D高斯飞溅的渲染的场景中获得一个可控的旋转物体
  • ¥88 实在没有想法,需要个思路
  • ¥15 MATLAB报错输入参数太多
  • ¥15 python中合并修改日期相同的CSV文件并按照修改日期的名字命名文件
  • ¥15 有赏,i卡绘世画不出
  • ¥15 如何用stata画出文献中常见的安慰剂检验图
  • ¥15 c语言链表结构体数据插入
  • ¥40 使用MATLAB解答线性代数问题
  • ¥15 COCOS的问题COCOS的问题