ПРОЕКТЫ 


  АРХИВ 


Apache-Talk @lexa.ru 

Inet-Admins @info.east.ru 

Filmscanners @halftone.co.uk 

Security-alerts @yandex-team.ru 

nginx-ru @sysoev.ru 


  СТАТЬИ 


  ПЕРСОНАЛЬНОЕ 


  ПРОГРАММЫ 



ПИШИТЕ
ПИСЬМА












     АРХИВ :: nginx-ru
Nginx-ru mailing list archive (nginx-ru@sysoev.ru)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: fastcgi error log



Я понял, почему я ничего не вижу от php fastcgi

http://bugs.php.net/bug.php?id=28074

Description:
------------
The Fast CGI standard require that error be reported through the FastCGI
connection as a Stderr data stream. But PHP Fast CGI processes still write errors to original stderr (file
handle 3) which prevent from clean standard centralized FCGI logging,
especially when the Fast CGI PHP process is not started by the web
server (remote Fast CGI).

In most cases, it makes debugging PHP scripts impossible.


исправлено в 4.3.11, а у меня здесь еще 4.3.10


Igor Sysoev пишет:

On Mon, 4 Apr 2005, RaPaMaN wrote:

А я могу как-то для хостов писать error log от приложение php, которые запускаются под fastcgi nginx'ом ?

Поймать все, что пхп скрипты дают - warning и т.п.


То, что FastCGI пишет в stderr, nginx записывает в error_log,
предваряя строкой:

FastCGI sent in stderr: "..."

Всё, что пишется в stdout - уходит клиенту.


Игорь Сысоев
http://sysoev.ru








 




Copyright © Lexa Software, 1996-2009.