logo


Sconti Black Friday

  •  Operatività del 99,9%
  •  Certificato SSL Gratuito
  •  Supporto Live 24/7
  •  Garanzia di rimborso di 30 giorni
Inizia

Fino al

90

%

OFF

04
GIORNI
05
ORE
45
MINUTI
56
SECONDI
Svendita del Black Friday: Web Hosting
Da 0,80€ /Mese!
Vedi tutte le offerte
×

Conoscenza di base

Trova gli articoli informativi sulle funzionalità, sulle guide per la risoluzione dei problemi,
sulle altre informazioni tecniche relative al servizio hosting di Hostinger.

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

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