summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.htaccess10
-rw-r--r--check.php-dist3
2 files changed, 8 insertions, 5 deletions
diff --git a/.htaccess b/.htaccess
index 87a67c8dd..d0b17aebd 100644
--- a/.htaccess
+++ b/.htaccess
@@ -7,8 +7,9 @@ AddType text/x-component .htc
php_value error_log logs/errors
php_value upload_max_filesize 5M
php_value post_max_size 6M
- php_value memory_limit 64M
- php_value session.auto_start 0
+ php_value memory_limit 64M
+ php_value session.auto_start 0
+ php_value zlib.output_compression
</IfModule>
<IfModule mod_php5.c>
@@ -17,8 +18,9 @@ AddType text/x-component .htc
php_value error_log logs/errors
php_value upload_max_filesize 5M
php_value post_max_size 6M
- php_value memory_limit 64M
- php_value session.auto_start 0
+ php_value memory_limit 64M
+ php_value session.auto_start 0
+ php_value zlib.output_compression 0
</IfModule>
<FilesMatch "(\.inc|\~)$">
diff --git a/check.php-dist b/check.php-dist
index 81d63ae62..076ecfe26 100644
--- a/check.php-dist
+++ b/check.php-dist
@@ -253,7 +253,8 @@ echo '<br />';
echo '<h3>Checking .ini settings</h3>';
$ini_array = array('session.auto_start' => 0, 'file_uploads' => 1,
- 'magic_quotes_sybase' => 0, 'magic_quotes_gpc' => 0);
+ 'magic_quotes_sybase' => 0, 'magic_quotes_gpc' => 0,
+ 'zlib.output_compression' => 0);
foreach ($ini_array AS $var => $val) {
$status = ini_get($var);