Skip to content

Commit

Permalink
* check.php: add another check for zlib.output_compression 0
Browse files Browse the repository at this point in the history
* .htaccess: forcing it off
  • Loading branch information
till committed Feb 16, 2008
1 parent 6cdc8f2 commit 342db9d
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 5 deletions.
10 changes: 6 additions & 4 deletions .htaccess
Expand Up @@ -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>
Expand All @@ -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|\~)$">
Expand Down
3 changes: 2 additions & 1 deletion check.php-dist
Expand Up @@ -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);
Expand Down

0 comments on commit 342db9d

Please sign in to comment.