PHP: Notice und der Apache2 Error Log mit fcgi

Apache, Lighttpd, nginx, Cherokee
Post Reply
mydani
Posts: 152
Joined: 2003-08-18 19:34
 

PHP: Notice und der Apache2 Error Log mit fcgi

Post by mydani »

Hi,

da nun für jede Seite php per fcgi gestartet wird, wird jedes Notice des Interpreters im Errorlog des Apachen vermerkt. Gibts da eine schönere Alternative? Was habt ihr am Laufen?
Gruß Dani
User avatar
Joe User
Project Manager
Project Manager
Posts: 11191
Joined: 2003-02-27 01:00
Location: Hamburg
Contact:
 

Re: PHP: Notice und der Apache2 Error Log mit fcgi

Post by Joe User »

Folgendes sollte auch bei php-fcgi funktionieren (php.ini):

Code: Select all

error_reporting = E_ALL & ~E_NOTICE & ~E_STRICT
display_errors = Off
display_startup_errors = Off
log_errors = On
log_errors_max_len = 1024
ignore_repeated_errors = Off
ignore_repeated_source = Off
report_memleaks = On
track_errors = Off
html_errors = Off
error_log = /path/to/phperr_log
PayPal.Me/JoeUserFreeBSD Remote Installation
Wings for LifeWings for Life World Run

„If there’s more than one possible outcome of a job or task, and one
of those outcomes will result in disaster or an undesirable consequence,
then somebody will do it that way.“ -- Edward Aloysius Murphy Jr.
mydani
Posts: 152
Joined: 2003-08-18 19:34
 

Re: PHP: Notice und der Apache2 Error Log mit fcgi

Post by mydani »

Jupp :) Das wars schon wieder
Post Reply