#48041 [Opn->Fbk]: no headers sent if output is blank
| From: | jani@php.net | Date: | Mon, 27 Apr 2009 15:24:58 +0000 |
| Subject: | #48041 [Opn->Fbk]: no headers sent if output is blank | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-136375@lists.php.net to get a copy of this message | ||
ID: 48041
Updated by: jani@php.net
Reported By: mortals at seznam dot cz
-Status: Open
+Status: Feedback
Bug Type: CGI related
Operating System: linux
PHP Version: 5.2.9
New Comment:
Can you reproduce this with mod_fastcgi?
Previous Comments:
------------------------------------------------------------------------
[2009-04-27 09:05:56] mortals at seznam dot cz
reproduced only with version mod_fcgid 2.2. and php5.2.9
with mod_fcgid2.1 or with php5.2.8 headers are sent
php5.2.9 and fcgid2.2 on 32bit system works
on both system is same version of apache2.2.9
no different in ini settings, no errors after set display_errors on and
no errors in apache log with loglevel debug
same settings of apache and fcgid:
<IfModule mod_fcgid.c>
AddHandler fcgid-script .php
SocketPath /var/tmp/fcgid-ipc
IdleTimeout 60
MaxProcessCount 1000
IPCCommTimeout 30
IPCConnectTimeout 30
BusyTimeout 700
SharememPath /tmp/apache-fcgid-shm
</IfModule>
------------------------------------------------------------------------
[2009-04-24 13:38:22] lbarnaud@php.net
Both display_errors and log_errors are Off, please try enabling one of
them and check if you have any error. Please also check if you have any
differences compared to your 32bit setup (ini settings, fcgi module,
etc). Also check your apache error log with LogLevel set to debug,
eventually mod_fcgid logs, etc.
------------------------------------------------------------------------
[2009-04-24 13:00:44] mortals at seznam dot cz
output of /usr/local/php5latest/bin/php-cgi -i
http://www.korous.net/phpcgi_i.html
------------------------------------------------------------------------
[2009-04-24 11:53:19] lbarnaud@php.net
Could you please sent the output of the following command:
"/usr/local/php5latest/bin/php-cgi -i"
------------------------------------------------------------------------
[2009-04-24 08:37:05] mortals at seznam dot cz
ok, little more info for reproduce:
I am using distribution gentoo and fastcgi (fcgid), but I have try
minimal manually instalation without extensions:
./configure --prefix=/usr/local/php5latest --host=x86_64-pc-linux-gnu
--enable-cgi --enable-fastcgi --enable-force-cgi-redirect
--with-config-file-path=/etc/php/cgi-php5 --without-pear
/usr/local/php5latest/bin/php-cgi -v
PHP 5.2.10-dev (cgi-fcgi) (built: Apr 24 2009 10:06:17)
Copyright (c) 1997-2009 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2009 Zend Technologies
in virtualhost is
<directory /home...>
FCGIWrapper /usr/local/php5latest/bin/php-cgi .php
</directory>
and still doesnt work.
I have added
echo $test; to example reproduce code and headers are
sent, without echo no headers.
I have make strace with output:
http://www.korous.net/strace-echo.txt
and without output:
http://www.korous.net/strace-noecho.txt
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/48041
--
Edit this bug report at http://bugs.php.net/?id=48041&edit=1