当前位置:论坛首页 > Linux面板 > 求助

【已解答】按照提示去除安全风险 网站变成空白页

发表在 Linux面板昨天 14:07 [复制链接] 1 38

为了能快速了解并处理您的问题,请提供以下基础信息:
面板、插件版本:
系统版本:
问题描述:按照提示去除安全风险 网站变成空白页  数据库打不开
相关截图(日志、错误):

- - [22/May/2025:13:57:56 +0800] "GET / HTTP/2.0" 200 20 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/136.0.0.0 Safari/537.36 Edg/136.0.0.0"117.179.221.135 - - [22/May/2025:13:57:59 +0800] "GET /favicon.ico HTTP/2.0" 200 20 "https:///" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/136.0.0.0 Safari/537.36 Edg/136.0.0.0"









1 - - [22/May/2025:14:19:26 +0800] "GET /favicon.ico HTTP/2.0" 200 20 "https://wwwcn/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/136.0.0.0 Safari/537.36 Edg/136.0.0.0"
- - [22/May/2025:14:19:28 +0800] "GET / HTTP/2.0" 200 20 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/136.0.0.0 Safari/537.36 Edg/136.0.0.0"123.6.49.15 - - [22/May/2025:14:19:42 +0800] "GET / HTTP/1.1" 200 31 "-" "Mozilla/5.0 (Linux; U; Android 8.1.0; zh-cn; MI 8 Build/OPM1.171019.011) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/57.0.2987.108 Mobile Safari/537.36"123.6.49.15 - - [22/May/2025:14:19:45 +0800] "GET /favicon.ico HTTP/1.1" 200 5 "-" "Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.108 Safari/537.36"









2025/05/22 15:55:32 [error] 4563#0: *56 FastCGI sent in stderr: "PHP message: PHP Fatal error: Allowed memory size of 2097152 bytes exhausted (tried to allocate 4096 bytes) in /www/wwwroot/daigeng.cn/wp-includes/functions.php on line 179" while reading response header from upstream, client: 117.179.221.135, server: daigeng.cn, request: "GET / HTTP/2.0", upstream: "fastcgi://unix:/tmp/php-cgi-80.sock:", host: "www.daigeng.cn"2025/05/22 15:55:35 [error] 4563#0: *56 FastCGI sent in stderr: "PHP message: PHP Fatal error: Allowed memory size of 2097152 bytes exhausted (tried to allocate 4096 bytes) in /www/wwwroot/daigeng.cn/wp-includes/functions.php on line 9031" while reading response header from upstream, client: 117.179.221.135, server: daigeng.cn, request: "GET /favicon.ico HTTP/2.0", upstream: "fastcgi://unix:/tmp/php-cgi-80.sock:", host: "", referrer: "https://n/"2025/05/22 15:55:38 [error] 4563#0: *56 FastCGI sent in stderr: "PHP message: PHP Fatal error: Allowed memory size of 2097152 bytes exhausted (tried to allocate 4096 bytes) in /www/wwwroot/daigeng.cn/wp-includes/functions.php on line 179" while reading response header from upstream, client: 117.179.221.135, server: daigeng.cn, request: "GET / HTTP/2.0", upstream: "fastcgi://unix:/tmp/php-cgi-80.sock:", host: ""








circle_screenshot_1_宝塔Linux面板.png
使用道具 举报 只看该作者 回复
发表于 9 小时前 | 显示全部楼层
上面的错误信息是,php执行的时候内存不够
尝试增加php的内存限制,参数memory_limit ,修改后重启php
优化php代码
使用道具 举报 回复 支持 反对
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

普通问题处理

论坛响应时间:72小时

问题处理方式:排队(仅解答)

工作时间:白班:9:00 - 18:00

紧急运维服务

响应时间:3分钟

问题处理方式:宝塔专家1对1服务

工作时间:工作日:9:00 - 18:30

宝塔专业团队为您解决服务器疑难问题

点击联系技术免费分析

工作时间:09:00至18:30

快速回复 返回顶部 返回列表