|
Posted by cmk128 on 01/11/08 16:48
On 1月11日, 上午4時25分, "C. (http://symcbean.blogspot.com/)"
<colin.mckin...@gmail.com> wrote:
> On Jan 10, 5:28 pm, cmk...@hotmail.com wrote:
>
> > Hi
> > is it possible to write something to the apache log?
> > thanks
> > from Peter (cmk...@hotmail.com)
>
> if you're running as a module (not sure about CGI/fasCGI) then
> anything written to stderr appears in error_log. You can't write to
> the access_log.
>
> A better solution for logging is to use the syslog facility (via PHP's
> syslog() fn)
>
> C.
Thanks mr c.
Navigation:
[Reply to this message]
|