How To Disable Error Logs In Apache?
RegisterLogin
How To Disable Error Logs In Apache?
Post Description: this page will show you about disabling turning off error logs in linux unix server the Want To Know How To Disable Error Logs In Apache With A Linux Server for reporting errors and saving Too Much Space it will stop loging errors warnings scripts code
Tags: How, To, Disable, Error, Logs, In, Apache?
This Post Was Posted On Jan 09, 2010 By Webune Tutorials #3015
Post Description: this page will show you about disabling turning off error logs in linux unix server the Want To Know How To Disable Error Logs In Apache With A Linux Server for reporting errors and saving Too Much Space it will stop loging errors warnings scripts code
Tags: How, To, Disable, Error, Logs, In, Apache?
This Post Was Posted On Jan 09, 2010 By Webune Tutorials #3015
How To Disable Error Logs In Apache? by Webune Tutorials
This is in response to a support question:
"I want to know how to disable error logs in apache with a linux server i am asking because its taking too much space on my server and i am running out of disk space atleast this way i can maitain my website, because i have to empty out the files like once a month or else i would run out of disk space."
ANSWER: the answer to this question is easy.
if you have a Webune Linux Dedicated Server, login as superuser, to disable and enable error logging you need to edit or modify the php.ini file in PHP and send this command:
SHELL COMMAND:
nano /etc/php.ini
look for this line:
log_errors = On
change it to
log_errors = Off
save your changes and restart your apache server:
SHELL COMMAND:
/etc/init.d/httpd restart
DONE
NOTICE:
; Log errors into a log file (server-specific log, stderr, or error_log (below))
; As stated above, you're strongly advised to use error logging in place of
; error displaying on production web sites.
Leave Your Comments
Related Pages: [Add Your Website]
Post New Topic
©2012 Webune Forums - Thu Dec 13, 2012 1:54 am
Powered by: Webune Forums V3
Powered by: Webune Forums V3