Kai-Behncke
Erfahrenes Mitglied
Hallo liebes Forum,
ich versuche gerade php-Fehler mitzuloggen, aber es funktioniert einfach nicht.
Habe folgende Einträge in der php.ini:
-----------------------------------------------
error_reporting = E_ALL & ~E_NOTICE
; Print out errors (as a part of the output). For production web sites,
; you're strongly encouraged to turn this feature off, and use error logging
; instead (see below). Keeping display_errors enabled on a production web site
; may reveal security information to end users, such as file paths on your Web
; server, your database schema or other information.
display_errors = On
display_startup_errors = Off
log_errors = On
log_errors_max_len = 1024
ignore_repeated_errors = Off
ignore_repeated_source = Off
report_memleaks = On
;report_zend_debug = 0
track_errors = On
;html_errors = Off
;docref_root = "/phpmanual/"
;docref_ext = .html
; String to output before an error message.
;error_prepend_string = "<font color=ff0000>"
; String to output after an error message.
;error_append_string = "</font>"
; Log errors to specified file.
error_log = /usr/local/apache/htdocs/log/phperror.txt
; Log errors to syslog (Event Log on NT, not valid in Windows 95).
;error_log = syslog
----------------------------------
Ordner und Datei /usr/local/apache/htdocs/log/phperror.txt habe ich probeweise auf 777 gesetzt und den Apache neu gestartet.
Trotzdem werden keine Errors geloggt.........
Woran kann das liegen?
Danke im Voraus, Kai
ich versuche gerade php-Fehler mitzuloggen, aber es funktioniert einfach nicht.
Habe folgende Einträge in der php.ini:
-----------------------------------------------
error_reporting = E_ALL & ~E_NOTICE
; Print out errors (as a part of the output). For production web sites,
; you're strongly encouraged to turn this feature off, and use error logging
; instead (see below). Keeping display_errors enabled on a production web site
; may reveal security information to end users, such as file paths on your Web
; server, your database schema or other information.
display_errors = On
display_startup_errors = Off
log_errors = On
log_errors_max_len = 1024
ignore_repeated_errors = Off
ignore_repeated_source = Off
report_memleaks = On
;report_zend_debug = 0
track_errors = On
;html_errors = Off
;docref_root = "/phpmanual/"
;docref_ext = .html
; String to output before an error message.
;error_prepend_string = "<font color=ff0000>"
; String to output after an error message.
;error_append_string = "</font>"
; Log errors to specified file.
error_log = /usr/local/apache/htdocs/log/phperror.txt
; Log errors to syslog (Event Log on NT, not valid in Windows 95).
;error_log = syslog
----------------------------------
Ordner und Datei /usr/local/apache/htdocs/log/phperror.txt habe ich probeweise auf 777 gesetzt und den Apache neu gestartet.
Trotzdem werden keine Errors geloggt.........
Woran kann das liegen?
Danke im Voraus, Kai