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

Protection WordPress xmlrpc.php

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

Unsufficient disk space

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

MANDATORY security measures for WordPress

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

Optimal technique for DNS update

The DNS to be inserted for your hosting service are mentioned in the email of access that...

Files and folders permissions with linux

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