Error log in cPanel PHP

1

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? :

/Home/youruser/logs/php_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
Save

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

Unsufficient disk space

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

How to use CGI scripts

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

Files and folders permissions with linux

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

Protection WordPress xmlrpc.php

You are actually by default on mode PROXY with profile 'YOORshop defaut', this is good to know if...

MANDATORY security measures for WordPress

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