Edit report at https://bugs.php.net/bug.php?id=51304&edit=1
ID: 51304
Comment by: mp at webfactory dot de
Reported by: houdelou at hotmail dot com
Summary: php://stderr stream logs to global apache log file
instead of virtual host file
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:
Still a problem in 5.3.21.
Can someone please re-open this bug? I'd like to provide all the feedback you
need
:)
Previous Comments:
------------------------------------------------------------------------
[2012-05-16 13:31:35] plb at webfactory dot de
This bug still exists.
Can be reproduced with ne code snippet of the initial posting in the following
environments:
- Mac OSX 10.6.8, PHP 5.3.12
- Ubuntu 10.04 (Lucid Lynx), PHP 5.3.5-1ubuntu7.7
------------------------------------------------------------------------
[2012-02-26 08:12:28] [email protected]
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.
------------------------------------------------------------------------
[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] [email protected]
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