限时促销 - 低至 4.75CNH/月
06
18
34
19
现在来试试吧!
×

知识库

查找有关信息功能,故障排除指南,
以及与虚拟主机相关的其他技术信息的文章。

Can I hide errors and warnings that are displayed on my website?

引用:
Hide errors and warnings website php error error showing show errors

PHP Errors and warnings can be turned off through your Hosting Accounts Control Panel.

To disable/enable your account's PHP errors, access your Control Panel and locate the PHP Configuration menu. You can also just type "PHP" into your Search Bar at the top of your Control Panel page.



Access the PHP Configuration menu, search for the Display Errors field and choose to enable/disable it. Once that's done, hit Save at the bottom of the menu.

Notes:

  • It's highly recommended to turn this option to Disabled once all of the issues on Your website where fixed, so Your visitors do not spot any errors. Keeping this option Enabled could cause security issues as well as make your website look unprofessional. PHP errors and warnings are also stored in the .logs folder, which can be accessed either via your FTP or File Manager.

  • 简单易用的建站助手
  • 99.9%在线时间保证
  • 24/7 在线支持
  • Powerful Control Panel
  • 30天退款保证
限时优惠促销!
低至
4
75
CNH
/月
节省 90%
开始