Vendita del Black Friday 90% OFF
10
GIORNI
16
ORE
52
MINUTI
58
SECONDI

How to turn off PHP error reporting?

Modificato il:
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.

 

  • Numeri di siti web Illimitati
  • Supporto Live 24/7
  • Costruttore Sitoweb Semplice
  • Velocità Wordpress Ottimizzata 2X
  • Garanzia di rimborso di 30 giorni
Vendita del Black Friday
Da
0
80
/mese
Risparmia il 90%
Inizia Ora