网站使用Vultr欠费后,宕机重启,发生错误:
Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 32768 bytes) in /www/wwwroot/******.com/wp-content/plugins/header-footer-elementor/inc/class-hfe-settings-page.php on line 422
Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 32768 bytes) in /www/wwwroot/******.com/wp-content/plugins/wordpress-seo/lib/model.php on line 1
分析:经过检查发现,memory size 是指php缓存,判断是内存溢出问题,
解决:
1.修改后台PHP配置参数 memory_limit 128M为 80M
2. 服务>>>重载配置>>>重启>>>刷新浏览器 即可
参考:https://blog.csdn.net/fly_on_the_sky/article/details/102669880