Welcome! Log In Create A New Profile

Advanced

catch_workers_output option doesn't work

Posted by 任晓磊 
任晓磊
catch_workers_output option doesn't work
March 15, 2010 10:22AM
I use cacti 0.8.7e with PHP_5_3_FPM in svn, and maybe met a bug.

Cacti ( http://www.cacti.net/ ) used many deprecated functions such as
ereg(), etc., and this causes php to print many texts to stderr. The
catch_workers_output option is set as 'yes', but php-fpm didn't
collect the texts from stderr into a log file, instead, it put the
texts to FastCGI's stderr record, and at last, to nginx in front of
php-fpm. I think it worked incorrectly.

$ svn info
Path: .
URL: http://svn.php.net/repository/php/php-src/branches/PHP_5_3_FPM
Repository Root: http://svn.php.net/repository
Repository UUID: c90b9560-bf6c-de11-be94-00142212c4b1
Revision: 295950
Node Kind: directory
Schedule: normal
Last Changed Author: tony2001
Last Changed Rev: 294187
Last Changed Date: 2010-01-29 19:45:01 +0800 (Fri, 29 Jan 2010)


--
Ren Xiaolei
Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 149
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready