Error log in cPanel PHP


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

Also Read

How to disable Nginx default security rules

You can disable our Nginx security rules temporarily, or permanently : not recommended except for...

Unsufficient disk space

In order to satisfy existing customers who evolve using a lot of disk space (superior to 80GB)...

Files and folders permissions with linux

In general the permissions of the files must be 755 and the files to 644. This is a...

Issues with displaying website or error pages...

A problem may appear suddenly, and/or have been caused by your own actions like updates and...

How to use CGI scripts

CGI is installed on all accounts of course, but is disabled by default for security reasons...You...