From 211812c875cf0d6bfbf96d30b23ecaed7aee1fb3 Mon Sep 17 00:00:00 2001 From: Andreas Date: Wed, 18 Nov 2009 17:14:54 +0100 Subject: add php_bin_dir for typo3 --- templates/vhosts/php_typo3/CentOS.erb | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'templates/vhosts/php_typo3') diff --git a/templates/vhosts/php_typo3/CentOS.erb b/templates/vhosts/php_typo3/CentOS.erb index 7825a1b..5631bb5 100644 --- a/templates/vhosts/php_typo3/CentOS.erb +++ b/templates/vhosts/php_typo3/CentOS.erb @@ -44,6 +44,9 @@ php_admin_value open_basedir <%= documentroot %>:<%= real_php_upload_tmp_dir %>:<%= real_php_session_save_path %> php_admin_value upload_tmp_dir <%= real_php_upload_tmp_dir %> php_admin_value session.save_path <%= real_php_session_save_path %> + <%- unless real_php_bin_dir.to_s == 'absent' then -%> + php_admin_value safe_mode_exec_dir <%= real_php_bin_dir %> + <%- end -%> <%- end -%> @@ -122,6 +125,9 @@ php_admin_value open_basedir <%= documentroot %>:<%= real_php_upload_tmp_dir %>:<%= real_php_session_save_path %> php_admin_value upload_tmp_dir <%= real_php_upload_tmp_dir %> php_admin_value session.save_path <%= real_php_session_save_path %> + <%- unless real_php_bin_dir.to_s == 'absent' then -%> + php_admin_value safe_mode_exec_dir <%= real_php_bin_dir %> + <%- end -%> -- cgit v1.2.3