isti-puma: Add PHP variables needed by joomla.

library/roles/php-fpm: Fix typos in an example. Add some global settings to the pool template.
This commit is contained in:
Andrea Dell'Amico 2017-03-01 15:03:08 +01:00
parent 602ed0f8e8
commit 9dd0afa884
2 changed files with 5 additions and 3 deletions

View File

@ -18,9 +18,9 @@ php_fpm_packages:
- 'php{{ php_version }}-fpm'
#php_global_settings:
# - { option='', value='', state='' }
# - { option: '', value: '', state: '' }
#php_cli_global_settings:
# - { option='', value='', state='' }
# - { option: '', value: '', state: '' }
# Main confign file settings
# It can be 'syslog'

View File

@ -276,7 +276,9 @@ php_flag[display_errors] = {{ item.display_errors | default('off') }}
php_admin_value[error_log] = {{ phpfpm_logdir }}/$pool-error.log
php_admin_flag[log_errors] = {{ item.log_errors | default('on') }}
php_admin_value[memory_limit] = {{ item.memory_limit | default('64M') }}
php_admin_value[upload_max_filesize] = {{ item.upload_max_filesize | default('100M') }}
php_admin_value[upload_max_filesize] = {{ item.upload_max_filesize | default('20M') }}
php_admin_value[post_max_size] = {{ item.upload_max_filesize | default('20M') }}
php_admin_value[upload_tmp_dir] = {{ item.upload_tmp_dir | default('/var/tmp') }}
; Set session path to a directory owned by process user
php_value[session.save_handler] = '{{ item.session_save_handler | default('files') }}'
{% if phpfpm_session_prefix is defined %}