apache - creating custom php error log file -
is there multiple error logs within apache? meaning there php log, apache log etc? through research i've seen error log paths extend document root file type of file
or through many folder such /var/tmp/my-errors.log
- what difference between these error logs?
- what
var
,tmp
mean? , created user or inside apache? - is file file type of
file
unserviceable apache? server creates error log php within document root file type offile
, standard thing?
i want create error log file how create 1 , put make unreadable, unserviceable user?
do create in document root file extension of .log
, or outside document root there in fact unserviceable apache?
i log file within document root, , unserviceable apache, do creating file file type of file
, if how do this?
what difference between these error logs?
apache has access.log
storing information files have been requested , generall error.log
storing (or most) errors occurred during fullfilling requests.
you can control whether latter contains php errors or not via php.ini directive log_errors
.
what var , tmp mean? , created user or inside apache?
/var
linux standard directory shared user data.
/var/tmp
non-standard directory, name tmp
hints disposable data.
is file file type of file unserviceable apache? server creates error log php within document root file type of file, standard thing?
having logs within servable area not standard , imposes security threat. logfiles should kept outside of web reachable area.
and if apache couldnt serve files, else serve?
Comments
Post a Comment