There are certain scenarios when you may be asked to make changes to your PHP configuration. Specifically, you may be directed to edit a file on your server called php.ini, and to enable or disable PHP error logging.
PHP error logging tells whether to log errors. By default, errors are logged in the server’s error_log file.
While do not allow direct changes to PHP.ini on our servers. However, PHP configuration changes can be made from cPanel by following these steps:
1) Log into cPanel.
2) Look for the SOFTWARE section and click on Select PHP version
3) In the new window click on the Switch To PHP Options link.
4) Here you can locate the log_errors and tick on the box next to it to enable it or un-tick the box to disable it.
5) If the change was successful, you will see a green box with a message which will confirm that the change has been applied.
That’s all! Now you know how to enable or disable PHP error logging in cPanel
For further questions, or if you need help, please open a support ticket from your Client Area’s Dashboard.