ID:               35096
 Updated by:       [EMAIL PROTECTED]
 Reported By:      rob at burningsoda dot com
-Status:           Open
+Status:           Feedback
 Bug Type:         Apache2 related
 Operating System: *
 PHP Version:      5CVS, 4CVS (2005-11-04) (snap)
 New Comment:

It isn't that setting. Everything works just fine for me even
when I have output_buffering=4096 (default in php.ini-recommended)

Try making a diff of your php.ini against the "base" php.ini-* found in
the snapshot.


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

[2005-11-07 12:35:21] rob at burningsoda dot com

After rebuilding Apache2 and PHP5-dev on different machines the whole
weekend about 2 million times and wondering why some showed the bug,
some not, I eventually tracked it down to the following simple
configuration setting (*drum roll*):

*** output_buffering ***

To trigger the bug, set "output_buffering = On" or (e.g.)
"output_buffering = 4096", TO BYPASS THE BUG (listen up, bug plagued
Joomla!/Wordpress/etc. users) SET "output_buffering = Off" in your
php.ini. This bypass works for PHP 4 & 5.

Cheers,
rob.

PS: If I extend my testcase to

<?php ob_start(); echo($_GET['myarg']); ob_end_flush(); ?>

with "output_buffering = Off" that still does _not_ trigger the bug.
Maybe that helps.

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

[2005-11-06 15:52:48] [EMAIL PROTECTED]

Exactly how can we reproduce this? It works just fine for me when I
have this .htaccess file:

RewriteEngine on
RewriteRule ^(.+)/$ index.php?myarg=$1 [L]

So what else do we need?


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

[2005-11-06 04:01:51] rob at burningsoda dot com

doh!

PHP 5.1.0RC5-dev (cli) (built: Nov  6 2005 03:52:41)

I just tried a php5-snapshot. Same problem here. :(

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

[2005-11-04 22:57:08] [EMAIL PROTECTED]

I want you to try the PHP 5 snapshot because I want to be sure this is
only happening with PHP 4. In which case we have better chance of
figuring out what fix to backport from PHP 5.

On the other hand, if this also happens with PHP 5, we really need to
know since we're about to release PHP 5.1 and it would be nice to fix
this kind of things before the release..


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

[2005-11-04 20:04:37] rob at burningsoda dot com

sniper,

This problem occurs only when using PHP 4.4.1 and the PHP 4-snapshots
_and_ apache 2.x. Why should I try a 5.x-snapshot? Do I misunderstand
you?

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

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/35096

-- 
Edit this bug report at http://bugs.php.net/?id=35096&edit=1

Reply via email to