Reclaiming space from PHP error logs

If you ever have a Cpanel server running after a while, you would notice invariably that most of the accounts or users will have accumulated error logs within their home directories. When you have a running server for a while, this can take up many GB. Here’s a quick way to reclaim some space:

find /home/ -name error_log  -exec rm -rf {} \;

Enjoy some extra space!