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.


Tags

apache, best bet, error, files, Grab, log, logging features, Poking, recursively, script, site, txt, upload, way, web, web server


You may also like

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"}

Subscribe to our newsletter now!