mirror of
https://github.com/geerlingguy/ansible-role-apache
synced 2025-01-09 03:10:19 +01:00
Fixing php-fpm.
This commit is contained in:
parent
4aa972cfcc
commit
2539517220
1 changed files with 9 additions and 1 deletions
|
@ -11,7 +11,15 @@ pm.min_spare_servers = 5
|
|||
pm.max_spare_servers = 5
|
||||
pm.max_requests = 500
|
||||
|
||||
security.limit_extensions = .php .php3 .php4 .php5 .php7
|
||||
slowlog = /var/log/php-fpm/www-slow.log
|
||||
chdir = /var/www/html/{{ server_hostname }}
|
||||
security.limit_extensions = .php .php3 .php4 .php5 .php7
|
||||
|
||||
catch_workers_output = yes
|
||||
php_admin_value[memory_limit] = {{ php_memory_limit }}
|
||||
php_admin_value[error_log] = /var/log/php-fpm/www-error.log
|
||||
php_admin_flag[log_errors] = on
|
||||
php_value[session.save_handler] = files
|
||||
php_value[session.save_path] = /var/lib/php/session
|
||||
php_value[soap.wsdl_cache_dir] = /var/lib/php/wsdlcache
|
||||
php_value[opcache.file_cache] = /var/lib/php/opcache
|
||||
|
|
Loading…
Reference in a new issue