summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoralecpl <alec@alec.pl>2009-05-14 10:51:03 +0000
committeralecpl <alec@alec.pl>2009-05-14 10:51:03 +0000
commit2d1a451c25c65e6bae159d2a127b5f4e66d01c46 (patch)
tree1c7f2092c765007c32bfba6f9a6550b308573724
parent798ad5ea8e7f121e7c3ffaee2d96e15db3686dff (diff)
- suhosin.session.encrypt breaks Session handling (#1485846)
-rw-r--r--.htaccess9
-rw-r--r--installer/check.php3
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',