summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.htaccess1
-rw-r--r--includes/conf.php14
2 files changed, 4 insertions, 11 deletions
diff --git a/.htaccess b/.htaccess
index a592b0315..c789e6e8e 100644
--- a/.htaccess
+++ b/.htaccess
@@ -30,6 +30,7 @@ ErrorDocument 500 /error.php
php_value session.cookie_lifetime 2000000
php_value session.auto_start 0
php_value session.save_handler user
+ php_value session.cache_limiter none
php_value allow_call_time_pass_reference Off
</IfModule>
diff --git a/includes/conf.php b/includes/conf.php
index 452c80c91..8cdde25d5 100644
--- a/includes/conf.php
+++ b/includes/conf.php
@@ -20,17 +20,9 @@ $db_url = "mysql://drupal:drupal@localhost/drupal";
#
# PHP settings:
#
-# The following PHP settings are known to work well:
-# magic_quotes_gpc 0
-# magic_quotes_runtime 0
-# magic_quotes_sybase 0
-# track_vars 1
-# short_open_tag 1
-# register_globals 1
-
-# Avoid "page has expired" problems when browsing from your cache or
-# history after having filled out a form:
-// ini_set("session.cache_limiter", "");
+# To see what PHP settings are known to work well, take a look at
+# the .htacesss file in Drupal's root directory. If you get
+# unexecpted warnings or errors, double-check your PHP settings.
# If required, update PHP's include path to include your PEAR directory:
// ini_set("include_path", ".:/path/to/pear");