Edit report at https://bugs.php.net/bug.php?id=19436&edit=1

 ID:                 19436
 Comment by:         danialhorton at hotmail dot com
 Reported by:        steveh at brendata dot co dot uk
 Summary:            zlib.output_compression causing corruption
 Status:             No Feedback
 Type:               Bug
 Package:            Zlib related
 Operating System:   redhat linux 7.3
 PHP Version:        4.3.3
 Block user comment: N
 Private report:     N

 New Comment:

can't believe this bug still occurs to this day.


Previous Comments:
------------------------------------------------------------------------
[2003-11-26 09:36:57] luis-oliveira at iol dot pt

I´m experiencing that bug too.

Linux, PHP 4.3.3, no Zend Optimizer.
When using php to supply data for a file download from a database, if the file 
to download is a zip file, the downloaded file gets corrupted. If i switch 
zlib.output_compression to off in php.ini, the problem no longer exists.

I guess this could be sorted by detecting a ZIP content-type and switching 
zlib.output_compression off dinamically (as it is now being done for the image 
type).

------------------------------------------------------------------------
[2003-09-22 06:49:09] sni...@php.net

No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Open". Thank you.



------------------------------------------------------------------------
[2003-09-17 13:48:34] s...@php.net

Does it work without the Zend Optimiser?

If the file is still corrupted after turning off Zend Optimiser, can you give 
us a short self contained example php script (and a file) which shows the error?

Thank you!

------------------------------------------------------------------------
[2003-09-17 11:58:11] steveh at brendata dot co dot uk

Should also mention that this is with the latest version of the zend optimiser 
as well.

------------------------------------------------------------------------
[2003-09-17 11:57:26] steveh at brendata dot co dot uk

Still a problem with 4.3.3

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


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

    https://bugs.php.net/bug.php?id=19436


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

Reply via email to