December 30

How To Automatically Remove error_log Files

0  comments

apache http server logoApache has great logging features, but if you’re using shared hosting, then sometimes removing error_log files might not be very simple.

Poking around the Internet did lead me to Lester’s site, where he has generously created and offered an error_log file cleaning script for free. Grab that script here. Just upload that script to your web server, run it, and any error_log file that it finds (it searches downwards recursively), it will delete. So if you’re looking for a way to automatically delete error_log files, this is probably your best bet.

I’ve also mirrored it here. It’s a .txt file, so just rename it to .php for it to work.


Other posts about scaling up businesses

How To Choose Digital Marketing Channels (A Powerful 6 Step Process)

I Only Own One Pair Of Shoes

Leave a Reply

Your email address will not be published. Required fields are marked

{"email":"Email address invalid","url":"Website address invalid","required":"Required field missing"}
free playbook

Get Your Free 5E Playbook

My 5E playbook is now available for a limited time!

__CONFIG_colors_palette__{"active_palette":0,"config":{"colors":{"62516":{"name":"Main Accent","parent":-1}},"gradients":[]},"palettes":[{"name":"Default Palette","value":{"colors":{"62516":{"val":"var(--tcb-skin-color-0)"}},"gradients":[]}}]}__CONFIG_colors_palette__
Get Your Playbook