add php config for sys_temp_dir in vhost templates (for PHP 5.4+)
This commit is contained in:
parent
dc1708fecd
commit
1809cd67da
|
@ -7,6 +7,7 @@
|
||||||
<Directory "%%document_root%%">
|
<Directory "%%document_root%%">
|
||||||
php_admin_value open_basedir "%%account_root%%:/usr/share/php/"
|
php_admin_value open_basedir "%%account_root%%:/usr/share/php/"
|
||||||
php_admin_value upload_tmp_dir %%account_root%%/tmp
|
php_admin_value upload_tmp_dir %%account_root%%/tmp
|
||||||
|
php_admin_value sys_temp_dir %%account_root%%/tmp
|
||||||
php_admin_value sendmail_path '/usr/lib/alternc/sendmail "%%mail_account%%" '
|
php_admin_value sendmail_path '/usr/lib/alternc/sendmail "%%mail_account%%" '
|
||||||
php_admin_flag mail.add_x_header on
|
php_admin_flag mail.add_x_header on
|
||||||
Options +MultiViews -FollowSymLinks +SymLinksIfOwnerMatch
|
Options +MultiViews -FollowSymLinks +SymLinksIfOwnerMatch
|
||||||
|
@ -24,6 +25,7 @@
|
||||||
<Directory "%%document_root%%">
|
<Directory "%%document_root%%">
|
||||||
php_admin_value open_basedir "%%account_root%%:/usr/share/php/"
|
php_admin_value open_basedir "%%account_root%%:/usr/share/php/"
|
||||||
php_admin_value upload_tmp_dir %%account_root%%/tmp
|
php_admin_value upload_tmp_dir %%account_root%%/tmp
|
||||||
|
php_admin_value sys_temp_dir %%account_root%%/tmp
|
||||||
php_admin_value sendmail_path '/usr/lib/alternc/sendmail "%%mail_account%%" '
|
php_admin_value sendmail_path '/usr/lib/alternc/sendmail "%%mail_account%%" '
|
||||||
php_admin_flag mail.add_x_header on
|
php_admin_flag mail.add_x_header on
|
||||||
Options +MultiViews -FollowSymLinks +SymLinksIfOwnerMatch
|
Options +MultiViews -FollowSymLinks +SymLinksIfOwnerMatch
|
||||||
|
|
|
@ -26,6 +26,7 @@
|
||||||
<Directory "%%document_root%%">
|
<Directory "%%document_root%%">
|
||||||
php_admin_value open_basedir "%%account_root%%:/usr/share/php/"
|
php_admin_value open_basedir "%%account_root%%:/usr/share/php/"
|
||||||
php_admin_value upload_tmp_dir %%account_root%%/tmp
|
php_admin_value upload_tmp_dir %%account_root%%/tmp
|
||||||
|
php_admin_value sys_temp_dir %%account_root%%/tmp
|
||||||
php_admin_value sendmail_path '/usr/lib/alternc/sendmail "%%mail_account%%" '
|
php_admin_value sendmail_path '/usr/lib/alternc/sendmail "%%mail_account%%" '
|
||||||
php_admin_flag mail.add_x_header on
|
php_admin_flag mail.add_x_header on
|
||||||
Options -MultiViews -FollowSymLinks +SymLinksIfOwnerMatch
|
Options -MultiViews -FollowSymLinks +SymLinksIfOwnerMatch
|
||||||
|
|
|
@ -20,6 +20,7 @@
|
||||||
<Directory "%%document_root%%">
|
<Directory "%%document_root%%">
|
||||||
php_admin_value open_basedir "%%account_root%%:/usr/share/php/"
|
php_admin_value open_basedir "%%account_root%%:/usr/share/php/"
|
||||||
php_admin_value upload_tmp_dir %%account_root%%/tmp
|
php_admin_value upload_tmp_dir %%account_root%%/tmp
|
||||||
|
php_admin_value sys_temp_dir %%account_root%%/tmp
|
||||||
php_admin_value sendmail_path '/usr/lib/alternc/sendmail "%%mail_account%%" '
|
php_admin_value sendmail_path '/usr/lib/alternc/sendmail "%%mail_account%%" '
|
||||||
php_admin_flag mail.add_x_header on
|
php_admin_flag mail.add_x_header on
|
||||||
Options +MultiViews -FollowSymLinks +SymLinksIfOwnerMatch
|
Options +MultiViews -FollowSymLinks +SymLinksIfOwnerMatch
|
||||||
|
|
Loading…
Reference in New Issue