You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.
ansible-role-nginx/lemp-rhel7/roles/ansible-role-php/templates/www.conf.j2

25 lines
746 B

[www]
listen = 127.0.0.1:9000
listen.allowed_clients = 127.0.0.1
user = vmuser
group = www-php
pm = dynamic
pm.max_children = 50
pm.start_servers = 5
pm.min_spare_servers = 5
pm.max_spare_servers = 5
pm.max_requests = 500
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