From 2d1a451c25c65e6bae159d2a127b5f4e66d01c46 Mon Sep 17 00:00:00 2001 From: alecpl Date: Thu, 14 May 2009 10:51:03 +0000 Subject: - suhosin.session.encrypt breaks Session handling (#1485846) --- .htaccess | 9 +++++---- installer/check.php | 3 ++- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/.htaccess b/.htaccess index 36d574865..05a2ed7c2 100644 --- a/.htaccess +++ b/.htaccess @@ -7,12 +7,13 @@ php_flag log_errors On 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 post_max_size 6M +php_value memory_limit 64M -php_value zlib.output_compression 0 -php_value magic_quotes_gpc 0 +php_value zlib.output_compression 0 +php_value magic_quotes_gpc 0 php_value zend.ze1_compatibility_mode 0 +php_value suhosin.session.encrypt Off php_value session.auto_start 0 php_value session.gc_maxlifetime 21600 diff --git a/installer/check.php b/installer/check.php index 4c34dd6de..848131e51 100644 --- a/installer/check.php +++ b/installer/check.php @@ -15,7 +15,8 @@ $supported_dbs = array('MySQL' => 'mysql', 'MySQLi' => 'mysqli', 'PostgreSQL' => 'pgsql', 'SQLite (v2)' => 'sqlite'); $ini_checks = array('file_uploads' => 1, 'session.auto_start' => 0, - 'zend.ze1_compatibility_mode' => 0, 'mbstring.func_overload' => 0); + 'zend.ze1_compatibility_mode' => 0, 'mbstring.func_overload' => 0, + 'suhosin.session.encrypt' => 0); $source_urls = array( 'Sockets' => 'http://www.php.net/manual/en/ref.sockets.php', -- cgit v1.2.3