Re: Log_console Bug?
| From: | Alex Hayes | Date: | Wed, 27 Apr 2005 23:28:46 +0000 |
| Subject: | Re: Log_console Bug? | ||
| References: | 1 2 3 4 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-37454@lists.php.net to get a copy of this message | ||
Done,
http://pear.php.net/bugs/bug.php?id=4237
Jon Parise wrote:
On Sat, Apr 23, 2005 at 11:36:57PM +0200, Cipriano Groenendal wrote:Not to pass the buck, but that sounds more like a problem with Fedora's PHP distribution than a deficiency in the Log package. Regardless, I'll put it on my list of things to consider during my next Log work session. It would be great if someone could file this as a bug in the PEAR bug system so I don't forget about it.Fedora Core, and probably other distro's aswell, ship with a PHP compiled without CLI support. My FC3 server with pre-packed PHP-5.0.3 has the CGI version installed in /usr/bin/php: # /usr/bin/php -v PHP 5.0.3 (cgi) (built: Feb 9 2005 07:52:33)I think there is a bug in Log_console, well at least there appears to be one when using Fedora Core 3, php 5.0.3 fwrite($this->_stream); (where stream is equal to the string STDOUT, not a resource)My PHP environment disagrees: However, STDOUT is CLI-specific. Are you attempting to use the 'console' handling outside of the CLI environment? I can't see why that would be especially useful