Wordfence: UNABLE TO UPDATE RULES
管理页面横幅(关闭之后一刷新又出来了)显示:
The last rules update for the Wordfence Web Application Firewall was unsuccessful. The last successful update check was July 7, 2020 5:06 pm, so this site may be missing new rules added since then. You may wait for the next automatic attempt at July 21, 2020 5:07 pm or try to Manually Update by clicking the “Manually Refresh Rules” button below the Rules list.
手动升级时显示:
No rules were updated. Please verify your website can reach the Wordfence servers.
(疑似)解决方法:
通过跟支持人员的散装英语交流,某种程度上解决了问题。
设置php.ini
编辑/usr/local/php/etc/php.ini
。
修改以下参数:
max_execution_time = 300
memory_limit = 256M
修改好后重启PHP(或者重启整个lnmp也行)。
删除wflogs文件夹
删除该文件夹,让Wordfence重新生成该文件夹。
具体位置为:
网站目录/wp-content/wflogs
直接rm -rf
干掉就行。然后刷新网页,就应该已经重新生成了。