ID:               48041
 User updated by:  mortals at seznam dot cz
 Reported By:      mortals at seznam dot cz
-Status:           Feedback
+Status:           Open
 Bug Type:         *General Issues
 Operating System: linux
 PHP Version:      5.2.9
 New Comment:

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>


Previous Comments:
------------------------------------------------------------------------

[2009-04-24 13:38:22] lbarn...@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] lbarn...@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

------------------------------------------------------------------------

[2009-04-23 16:13:21] j...@php.net

Please try using this CVS snapshot:

  http://snaps.php.net/php5.2-latest.tar.gz
 
For Windows:

  http://windows.php.net/snapshots/

I can not reproduce this on 3 servers (all being 64bit..)

------------------------------------------------------------------------

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

Reply via email to