Bump.

Johan Linner skrev 2010-07-04 09:56:
> 2010-07-03 18:25, Johan Linner skrev:
>> Alvaro Lopez Ortega skrev 2010-07-03 15:18:
>>> Hello Johan,
>>>
>>> On 03/07/2010, at 12:44, Johan Linner wrote:
>>>
>>>> This code reproduces the same error:
>>>>
>>>> <?php
>>>> file_put_contents("php://stderr", "php stderr\n");
>>>> echo "php stdout\n";
>>>> ?>
>>>
>>> I've just tested it. It did work as expected.
>>>
>>>> I'm running Ubuntu 10.04, with the 1.0.4 package from Launchpad.
>>>
>>> What version of Cherokee are you using?
>>>
>>>> I've seen others having this problem in the past, but no real solutions
>>>> so need help...
>>>
>>> There was a problem logging the stderr output. However, it was fixed long 
>>> time ago.
>>> What sort of access/error logging are you using?
>>>
>>> --
>>> Octality
>>> http://www.octality.com/
>>>
>>
>> Hi,
>>
>> Running latest Cherokee version 1.0.4 from ppa:cherokee-webserver/ppa.
>> Installed the standard php package in Ubuntu 10.04.
>> I am using the standard access/error logging in Cherokee:
>> /var/log/cherokee/cherokee.access;cherokee.error
>>
>> PHP:
>> joh...@johanl-x41:~$ /usr/bin/php-cgi -v
>> PHP 5.3.2-1ubuntu4.2 with Suhosin-Patch (cgi-fcgi) (built: May 13 2010
>> 20:00:36)
>> Copyright (c) 1997-2009 The PHP Group
>> Zend Engine v2.3.0, Copyright (c) 1998-2010 Zend Technologies
>>
>> cherokee.error:
>> {'type': "error", 'time': "03/07/2010 12:16:18.255", 'title': "Parsing
>> error: unknown version", 'code': "handler_fcgi.c:83", 'error': "40",
>> 'version': "1.0.4", 'compilation_date': "Jun 23 2010 02:09:44",
>> 'configure_args': " '--includedir=${prefix}/include'
>> '--mandir=${prefix}/share/man' '--infodir=${prefix}/share/info'
>> '--libexecdir=${prefix}/lib/cherokee' '--disable-maintainer-mode'
>> '--disable-dependency-tracking' '--host=i486-linux-gnu'
>> '--build=i486-linux-gnu' '--enable-os-string=Ubuntu' '--prefix=/usr'
>> '--localstatedir=/var' '--mandir=/usr/share/man'
>> '--infodir=/usr/share/info' '--sysconfdir=/etc'
>> '--docdir=/usr/share/doc/cherokee-doc' '--with-wwwroot=/var/www'
>> '--enable-pthread' 'build_alias=i486-linux-gnu'
>> 'host_alias=i486-linux-gnu' 'CFLAGS=-Wall -g -O2'
>> 'LDFLAGS=-Wl,-Bsymbolic-functions' 'CPPFLAGS='
>> '--includedir=${prefix}/include' '--mandir=${prefix}/share/man'
>> '--infodir=${prefix}/share/info' '--libexecdir=${prefix}/lib/cherokee'
>> '--disable-maintainer-mode' '--disable-dependency-tracking'
>> '--host=i486-linux-gnu' '--build=i486-linux-gnu'
>> '--enable-os-string=Ubuntu' '--prefix=/usr' '--localstatedir=/var'
>> '--mandir=/usr/share/man' '--infodir=/usr/share/info'
>> '--sysconfdir=/etc' '--docdir=/usr/share/doc/cherokee-doc'
>> '--with-wwwroot=/var/www' '--enable-pthread'
>> 'build_alias=i486-linux-gnu' 'host_alias=i486-linux-gnu' 'CFLAGS=-Wall
>> -g -O2' 'LDFLAGS=-Wl,-Bsymbolic-functions' 'CPPFLAGS='", 'backtrace': ""}
>>
>> /Johan
>>
>>
>> _______________________________________________
>> Cherokee mailing list
>> [email protected]
>> http://lists.octality.com/listinfo/cherokee
>
> Maybe it has something to do with user rights/access.
> If I manually start the php-cgi process as root, everything works fine:
> sudo /usr/bin/php-cgi -b 127.0.0.1:47990&
>
> And the code snippet below produces the right output both to the web
> browser and to stderr in the terminal windows where php-cgi is launched.
>
> <?php
> file_put_contents("php://stderr", "php stderr\n");
> echo "php stdout\n";
> ?>
>
> /Johan
>
>
> _______________________________________________
> Cherokee mailing list
> [email protected]
> http://lists.octality.com/listinfo/cherokee


_______________________________________________
Cherokee mailing list
[email protected]
http://lists.octality.com/listinfo/cherokee

Reply via email to