Edit report at http://bugs.php.net/bug.php?id=51304&edit=1
ID: 51304 Updated by: [email protected] Reported by: houdelou at hotmail dot com Summary: php://stderr stream logs to global apache log file instead of virtual host file -Status: Open +Status: Feedback Type: Bug Package: Output Control Operating System: Ubuntu Server 9.04 PHP Version: Irrelevant New Comment: Please try using this snapshot: http://snaps.php.net/php5.3-latest.tar.gz For Windows: http://windows.php.net/snapshots/ Previous Comments: ------------------------------------------------------------------------ [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 http://bugs.php.net/bug.php?id=51304&edit=1
