How to Turn Off PHP Error Reporting ?

  • Login into your cPanel account.
  • go to the Files section and click on the File Manager.

 

  • In the File Manager, click on Settings.

 

  • Check the box for the field Show hidden files and click on Save.

 

  • the .htaccess file and click on Edit from the section.

 

  • add the below code.
  • php_flag display_errors off
  • click on Save Changes.

Was this article helpful?

Related Articles