In certain situations, you may be asked to modify your PHP configuration. For example, this could involve editing the php.ini file located on your server and turning on or off PHP error reporting.
1. Log in to your cPanel
2. Navigate to the SOFTWARE section and click on the SELECT PHP VERSION.
3. Select the “Switch To PHP Options” link in the new window.
4. To change the error_reporting option, click the drop-down menu and select the desired setting.
E_ALL : Everything
E_ALL & ~E_NOTICE : Report all errors except E_NOTICE
~E_ALL : Disable all
5. If the alteration is successful, a green box with a notification will appear, confirming that the alteration has been applied.
Now you have learned how to turn on or off PHP error reporting in cPanel! That’s it!
Please submit a support ticket via your Client Area if you have any further inquiries or require assistance.