From e4a43c99e421c830e569eaae6294286ed51e0ad8 Mon Sep 17 00:00:00 2001 From: Bharat Mediratta Date: Tue, 11 Jan 2011 21:41:20 -0800 Subject: Mirror .htaccess PHP settings into php.ini for hosts that have per-dir php.ini support configured, but don't use .htaccess. Fixes #1603. --- php.ini | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 php.ini (limited to 'php.ini') 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 -- cgit v1.2.3