极慢的WordPress
Extremely slow wordpress
我的网站有一个大问题。 2 天前它开始出现响应时间长、菜单慢等问题...
当我检查 apache 日志时,我看到了这个:
[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 每 4 或 5 秒生成这行代码,我认为这可能是服务器速度慢的原因(VPS SSD)。
我尝试将 always_populate_raw_post_data
设置为 -1
,性能有所提高,但甚至没有接近它必须达到的水平。
网站是基于wordpress的,希望有经验的人遇到过这个问题...
提前致谢
解决方案:最后我确实设置了"always_populate_raw_post_data to -1"并在WP上重新安装了WP Supercache,现在一切正常。
我的网站有一个大问题。 2 天前它开始出现响应时间长、菜单慢等问题...
当我检查 apache 日志时,我看到了这个:
[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 每 4 或 5 秒生成这行代码,我认为这可能是服务器速度慢的原因(VPS SSD)。
我尝试将 always_populate_raw_post_data
设置为 -1
,性能有所提高,但甚至没有接近它必须达到的水平。
网站是基于wordpress的,希望有经验的人遇到过这个问题...
提前致谢
解决方案:最后我确实设置了"always_populate_raw_post_data to -1"并在WP上重新安装了WP Supercache,现在一切正常。