Novogodišnja ponuda 82% OFF
00
DANA
13
SATI
22
MINUTA
02
SEKUNDI

How to turn off PHP error reporting?

Modificirano dana:
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.

 

  • Neograničen broj web stranica
  • 24/7 Podrška
  • Jednostavni Alat za izradu stranica
  • 2X WordPress optimizirana brzina
  • 30-dnevno Jamstvo povrata novca
Uzmite ograničenu ponudu!
Počevši od
HRK
9
50
/mj
Uštedi 82%
Započnite