php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #22380 Uploaded files automatically being deflated.
Submitted: 2003-02-22 17:30 UTC Modified: 2003-03-09 19:01 UTC
Votes:1
Avg. Score:4.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:1 (100.0%)
Same OS:1 (100.0%)
From: henryw at optonline dot net Assigned:
Status: Not a bug Package: Apache2 related
PHP Version: 4.3.1 OS: Linux RH7.3
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: henryw at optonline dot net
New email:
PHP Version: OS:

 

 [2003-02-22 17:30 UTC] henryw at optonline dot net
The simplest php upload script will upload any binary file to my Apache 2.40 web server BUT then what appears to be an automatic deflation is attempted on the file. Zip files, gzip, etc. are all experiencing the same problem.

I have compiled the Apache server with deflate disabled. 


here is my configure file:

./configure \
--with-apxs2=/usr/local/apache2/bin/apxs \
--with-mysql=/usr/local/mysql-standard-4.0.10-gamma-pc-linux-i686 \
--prefix=/usr/local/apache2/php \
--with-config-file-path=/usr/local/apache2/php \
--enable-track-vars \
--enable-force-cgi-redirect \
--with-gettext \
--with-gdbm \
--enable-ftp \
--with-gd \
--with-jpeg-dir=/usr \
--with-zlib \
--with-png \
--with-png-dir=/usr \
--with-bz2


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2003-02-22 22:51 UTC] sniper@php.net
1. Apache 2.0.40 is too old, upgrade to 2.0.44
2. Check your PHP httpd.conf setting

 [2003-03-06 07:48 UTC] jrrl at steampunk dot com
I believe this is the same bug reported earlier.  Get rid of the SetOutputFilter, SetInputFilter, and LimitRequestBody directives (under rh, hiding in /etc/httpd/conf.d/php.conf), restart apache, and all should be well.
 [2003-03-09 19:01 UTC] sniper@php.net
As mentioned in the previous comment..this is not PHP bug.

 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri May 03 19:01:32 2024 UTC