惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

Microsoft Security Blog
Microsoft Security Blog
Google DeepMind News
Google DeepMind News
P
Privacy International News Feed
www.infosecurity-magazine.com
www.infosecurity-magazine.com
T
Threatpost
GbyAI
GbyAI
V
Visual Studio Blog
H
Help Net Security
Vercel News
Vercel News
P
Palo Alto Networks Blog
Project Zero
Project Zero
AWS News Blog
AWS News Blog
Latest news
Latest news
Cyberwarzone
Cyberwarzone
C
Cybersecurity and Infrastructure Security Agency CISA
The Register - Security
The Register - Security
博客园_首页
WordPress大学
WordPress大学
G
GRAHAM CLULEY
T
Tor Project blog
有赞技术团队
有赞技术团队
Know Your Adversary
Know Your Adversary
AI
AI
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
O
OpenAI News
博客园 - 聂微东
月光博客
月光博客
S
Security Affairs
Webroot Blog
Webroot Blog
L
LangChain Blog
Apple Machine Learning Research
Apple Machine Learning Research
NISL@THU
NISL@THU
N
News and Events Feed by Topic
Blog — PlanetScale
Blog — PlanetScale
S
Securelist
V
Vulnerabilities – Threatpost
aimingoo的专栏
aimingoo的专栏
阮一峰的网络日志
阮一峰的网络日志
Stack Overflow Blog
Stack Overflow Blog
Application and Cybersecurity Blog
Application and Cybersecurity Blog
D
DataBreaches.Net
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
Y
Y Combinator Blog
Cisco Talos Blog
Cisco Talos Blog
The Cloudflare Blog
IT之家
IT之家
博客园 - 三生石上(FineUI控件)
雷峰网
雷峰网
L
Lohrmann on Cybersecurity
T
The Blog of Author Tim Ferriss

nicetheme_奈思主题

🎁 限时福利 :一个 API Key 调用GPT / Gemini / Claude 全系亚洲优化的多模型 API 聚合 Wonderful 主题 v1.0 设置教程 WordPress 企业主题:Wonderful 主题 已结束|11月大促|全场6.8折起!升级会员,最高返 555抵扣券! 已结束|10月大促|全场7.5折!升级会员,最高返 500抵扣券! Alright & Halo主题设置教程 积木插件下载地址 已结束|618年中大促|全场6.1折,限66个名额,仅限一天!升级会员,最高返 500抵扣券! 已结束|6月大促|全场7.8折!升级会员,最高返 500抵扣券!
在宝塔面板中关闭 PHP 的 display_errors
217 号 · 2025-07-28 · via nicetheme_奈思主题

📌 目的

关闭 display_errors 能防止 PHP 报错信息直接暴露在网页上。

🛠 1、找到 PHP 设置界面

  1. 左侧菜单栏点击【软件商店
  2. 找到你当前网站使用的 PHP 版本(例如:PHP 8.1),点击右侧的【设置

🛠 2、通过【PHP 设置】面板

  1. 点击 PHP 设置页面中的【配置修改】
  2. 在列表中找到 display_errors
  3. 将它的值从 On 改为 Off
  4. 点击下方【保存】
在宝塔面板中关闭 PHP 的 display_errors-nicetheme_奈思主题

🛠 3、重启 PHP 服务

设置修改后重启 PHP,才能生效。

  1. 返回 PHP 设置主界面
  2. 点击【重启】按钮(一般在页面右上角)
  3. 等待几秒钟,PHP 服务重启成功
在宝塔面板中关闭 PHP 的 display_errors-nicetheme_奈思主题