Error log PHP in cPanel


Special for Managed Servers Using PHP Versions of cPanel

Reminder :
You use in your managed service with the PHP versions of cPanel, not cloudlinux.

This is a very important point to know when you debug your site, or is the error log? :


From your cPanel / Software / MultiPHP ini editor :

It is Off by default:
Log_errors = Off
Change it to On to debug :
Log_errors = On

Note :
- Once finished, turn it off, very important, otherwise it writes the records until the file weighs several GB and saturates your account, and you can even delete the file, it will recreated when you next turn it on...
- Another complementary error_log file also exists in general at the root of the folder of your site, eg: / public_html for the main domain of the cPanel account