Hostrime.com Official Blog

Recover Space Used by PHP error logs in cPanel

If you are using cPanel based server you may notice invariably that most of the cPanel accounts will have accumulated error logs within their home directories by using the file having name error_log. These error_log files may be generated due to PHP errors caused by PHP scripts.

Some of these error_log files may using huge amount of disk space & we need Recover Space used by PHP error logs in cPanel.

Here’s a quick way to remove these error_log files from root to recover space used by these files.