summaryrefslogtreecommitdiff
path: root/php.ini
diff options
context:
space:
mode:
authorBharat Mediratta <bharat@menalto.com>2011-01-11 21:41:20 -0800
committerBharat Mediratta <bharat@menalto.com>2011-01-11 21:41:20 -0800
commite4a43c99e421c830e569eaae6294286ed51e0ad8 (patch)
treeac125430c0a778db8e956257b4f24094d326d3c1 /php.ini
parent7eabf6c1c27c2c0e98895f663bb2853d72976e01 (diff)
Mirror .htaccess PHP settings into php.ini for hosts that have
per-dir php.ini support configured, but don't use .htaccess. Fixes #1603.
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