Edit report at https://bugs.php.net/bug.php?id=51304&edit=1
ID: 51304 Updated by: s...@php.net Reported by: houdelou at hotmail dot com Summary: php://stderr stream logs to global apache log file instead of virtual host file -Status: Feedback +Status: No Feedback Type: Bug Package: Output Control Operating System: Ubuntu Server 9.04 PHP Version: Irrelevant Block user comment: N Private report: N New Comment: No feedback was provided. The bug is being suspended because we assume that you are no longer experiencing the problem. If this is not the case and you are able to provide the information that was requested earlier, please do so and change the status of the bug back to "Open". Thank you. Previous Comments: ------------------------------------------------------------------------ [2010-06-24 10:25:25] viatkine at gmail dot com PHP 5.3.1 (cli) (built: Nov 19 2009 10:17:43) Different php version and platform. Same problem.. ------------------------------------------------------------------------ [2010-05-19 14:42:28] m...@php.net Please try using this snapshot: http://snaps.php.net/php5.3-latest.tar.gz For Windows: http://windows.php.net/snapshots/ ------------------------------------------------------------------------ [2010-03-15 22:24:56] houdelou at hotmail dot com Description: ------------ PHP 5.2.6-3ubuntu4.5 with Suhosin-Patch 0.9.6.2 (cli) (built: Jan 6 2010 22:25:33) /* This logs to global apache error_log file. */ $log = fopen("php://stderr", "a"); fwrite($log, "test message"); fclose($log); /* This logs to virtual host error_log file */ trigger_error("test message"); php.ini settings : log_errors = On No value for error_log. It is commented out. ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=51304&edit=1