[Php-it] Registrare con apache gli errori prodotti dal PHP

Leonardo leodav at tiscali.it
Thu Jul 5 13:33:51 CEST 2007


Alle giovedì 05 luglio 2007, WaKKa ha scritto:
>  Altrimenti stavo pensando di modificare il file httpd.conf per segnalarmi
> nel file error_logs gli errori ottenuti processando le pagine PHP. Con easy
> PHP ricordo che cio' accadeva, ma non so veramente come...
>
>         Grazie in anticipo a chi voglia darmi dei suggerimenti. In questo
> momento qualsiasi suggerimento sarebbe oro!
>
> Ossequi,
>         Nicola
>  
preso dal mio http.conf
Attenzione alle paths, il mio gira su linux
----------------
ErrorLog logs/error_log

#
# LogLevel: Control the number of messages logged to the error_log.
# Possible values include: debug, info, notice, warn, error, crit,
# alert, emerg.
#
LogLevel warn

#
# The following directives define some format nicknames for use with
# a CustomLog directive (see below).
#
LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" 
combined
LogFormat "%h %l %u %t \"%r\" %>s %b" common
LogFormat "%{Referer}i -> %U" referer
LogFormat "%{User-agent}i" agent

 


--
Leonardo


More information about the Php-it mailing list