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...

Where to find a webmaster

Web agency cheap in Maroc (30€/hour) : India :...

How to use CGI scripts

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

Problem cpanel/website access/FTP-emails - Unblock IP

Symptom :Impossible to connect to your website or to cPanel, nothing is working anymore for you,...

MANDATORY security measures for WordPress

It is not a secret, wordpress websites suffer from multiple attacks and increasingly causing...