summaryrefslogtreecommitdiff
path: root/templates/vhosts/php_gallery2
diff options
context:
space:
mode:
authorAndreas <andreas@immerda.ch>2010-01-01 23:52:28 +0100
committerAndreas <andreas@immerda.ch>2010-01-01 23:52:28 +0100
commitd34e97e8b4e4298f188c66aaba73af8816d263a0 (patch)
tree97e43ca903cfd7c4bfbddc97391c3d3760345f65 /templates/vhosts/php_gallery2
parente45d645f9e2f752c8e9c14f9559eea7d349c355e (diff)
php settings for gallery2
Diffstat (limited to 'templates/vhosts/php_gallery2')
-rw-r--r--templates/vhosts/php_gallery2/CentOS.erb8
1 files changed, 6 insertions, 2 deletions
diff --git a/templates/vhosts/php_gallery2/CentOS.erb b/templates/vhosts/php_gallery2/CentOS.erb
index 8d97bd9..5c9b354 100644
--- a/templates/vhosts/php_gallery2/CentOS.erb
+++ b/templates/vhosts/php_gallery2/CentOS.erb
@@ -41,10 +41,12 @@
require valid-user
<%- end -%>
php_admin_flag engine on
+ php_admin_flag safe_mode Off
+ php_admin_value output_buffering Off
<%- unless php_default_charset.to_s == 'absent' then -%>
php_admin_value default_charset <%= php_default_charset %>
<%- end -%>
- php_admin_value open_basedir <%= documentroot %>:<%= real_php_upload_tmp_dir %>:<%= real_php_session_save_path %>
+ php_admin_value open_basedir <%= documentroot %>:<%= real_php_upload_tmp_dir %>:<%= real_php_session_save_path %>:<%= gdatadir %>
php_admin_value upload_tmp_dir <%= real_php_upload_tmp_dir %>
php_admin_value session.save_path <%= real_php_session_save_path %>
<%- unless php_safe_mode_exec_bins.to_s == 'absent' then -%>
@@ -112,10 +114,12 @@
require valid-user
<%- end -%>
php_admin_flag engine on
+ php_admin_flag safe_mode Off
+ php_admin_value output_buffering Off
<%- unless php_default_charset.to_s == 'absent' then -%>
php_admin_value default_charset <%= php_default_charset %>
<%- end -%>
- php_admin_value open_basedir <%= documentroot %>:<%= real_php_upload_tmp_dir %>:<%= real_php_session_save_path %>
+ php_admin_value open_basedir <%= documentroot %>:<%= real_php_upload_tmp_dir %>:<%= real_php_session_save_path %>:<%= gdatadir %>
php_admin_value upload_tmp_dir <%= real_php_upload_tmp_dir %>
php_admin_value session.save_path <%= real_php_session_save_path %>
<%- unless php_safe_mode_exec_bins.to_s == 'absent' then -%>