#22380 [Com]: Uploaded files automatically being deflated.

From: Date: Thu, 06 Mar 2003 13:48:03 +0000
Subject: #22380 [Com]: Uploaded files automatically being deflated.
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-34965@lists.php.net to get a copy of this message
ID: 22380 Comment by: jrrl at steampunk dot com Reported By: henryw at optonline dot net Status: Feedback Bug Type: Apache2 related Operating System: Linux RH7.3 PHP Version: 4.3.1 New Comment: 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. Previous Comments: ------------------------------------------------------------------------ [2003-02-22 22:51:27] sniper@php.net 1. Apache 2.0.40 is too old, upgrade to 2.0.44 2. Check your PHP httpd.conf setting ------------------------------------------------------------------------ [2003-02-22 17:30:50] 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 ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=22380&edit=1

« previous php.bugs (#34965) next »