hello, i get in mt website's ftp a error_log file its a wordpress site and it gets like 800mb big everytime i dont want this error_log file gets created, how can i avoid this? maybe with php.ini or .hacces file?? how?? thnx,
error_log is created by apache. You could try something like this for example: Put this in .htaccess (it will disable repeated errors to be logged in, so that will probably reduce your error log a lot) # disable repeated error logging php_flag ignore_repeated_errors true php_flag ignore_repeated_source true Code (markup): Or maybe try something like this.. though I'm not sure about this part (also to put in .htaccess): # disable php errors to log or display php_flag log_errors off php_flag display_errors off Code (markup): I hope this might help.