summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortill <till@php.net>2008-02-16 18:15:14 +0000
committertill <till@php.net>2008-02-16 18:15:14 +0000
commit342db9d08ac772686687d2c15f89a8bfeaad1f7e (patch)
tree3cb058e1c514b8a2bc3cd66381f1be8ed395871a
parent6cdc8f2410085aa7080b462abec3fa69bd3df76c (diff)
* check.php: add another check for zlib.output_compression 0
* .htaccess: forcing it off
-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);