summaryrefslogtreecommitdiff
path: root/php.ini
diff options
context:
space:
mode:
Diffstat (limited to 'php.ini')
-rw-r--r--php.ini19
1 files changed, 19 insertions, 0 deletions
diff --git a/php.ini b/php.ini
new file mode 100644
index 00000000..d2f96f51
--- /dev/null
+++ b/php.ini
@@ -0,0 +1,19 @@
+; Set some reasonable defaults for PHP. Most of these cannot be set
+; inside the script itself. These settings are mirrored in the
+; .htaccess file for hosts that support .htaccess but not per-dir
+; php.ini files.
+;
+[PHP]
+short_open_tag = On
+magic_quotes_gpc = Off
+magic_quotes_sybase = Off
+magic_quotes_runtime = Off
+register_globals = Off
+upload_max_filesize = 20M
+post_max_size = 100M
+
+[Session]
+session.auto_start = Off
+
+[suhosin]
+suhosin.session.encrypt = Off