How do I make PHP not show errors?
How do I make PHP not show errors? In your php file just enter this code: error_reporting(0); This will report no errors to the user. Why does PHP not show errors? display_errors configuration variable If your PHP script is halting (or not executing code like you expect) and not displaying any error messages even though you know there's an error happening, it's likely that the 'display_errors' configuration setting is switched off. How do I turn off PHP warnings? By doing this error_reporting = E_ALL & ~E_NOTICE & ~E_WARNING in the php.ini. It disables the PHP Notice and PHP Warnings. This...