제한 시간 제안 - 895원/month
00
DAYS
09
HOURS
53
MINUTES
22
SECONDS
시작하세요
×

지식저장소

Find articles about information features, troubleshooting guides,
and other technical information related to the hosting service Hostinger.

How to turn off PHP error reporting?

Modified on:
error report error_reporting php error display error

To turn off PHP error reporting you can use the following snippet in your PHP script:

error_reporting(0);

Just remember to call this before any other PHP directive.

Alternatively, you can add this line to your .htaccess file (it is located in your public_html folder) to suppress any php error messages:

php_flag display_errors off

 

You can also turn off php error messages by going Member area ->  Hosting control panel -> PHP configuration, choose Disabled for Display Errors.

 

  • 쉬운 웹 사이트 빌더
  • 99.9 % 가동 시간 보장
  • 24/7 라이브 지원
  • Powerful Control Panel
  • 30 일 환불 보증
Limited Time Special Offer!
부터
895
/월
구하다 90%
시작하세요