网站使用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
本文来自一日程博客(https://www.yiricheng.cn/),为广大编程爱好者提供零基础快速搭建博客网站的方法,分享计算机网络、HTML、CSS、JavaScript、PHP、响应式设计以及Python自动化办公的博客文章,另有各类小工具、电子书、免费教程。如若本站内容侵犯了原著者的合法权益,可联系我们进行处理。