Welcome to Webune Support Forums.

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.