From 8006e3145cba94f36d1cb65f0c12f4e85d284960 Mon Sep 17 00:00:00 2001 From: Ivan Grynenko Date: Sun, 12 Jun 2016 18:22:20 +1000 Subject: [PATCH] Added php memory_limit. --- lemp-rhel7/roles/ansible-role-php/templates/www.conf.j2 | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lemp-rhel7/roles/ansible-role-php/templates/www.conf.j2 b/lemp-rhel7/roles/ansible-role-php/templates/www.conf.j2 index fa615e8..9fb78d2 100755 --- a/lemp-rhel7/roles/ansible-role-php/templates/www.conf.j2 +++ b/lemp-rhel7/roles/ansible-role-php/templates/www.conf.j2 @@ -13,3 +13,5 @@ pm.max_requests = 500 security.limit_extensions = .php .php3 .php4 .php5 .php7 chdir = /var/www/html/{{ server_hostname }} +catch_workers_output = yes +php_admin_value[memory_limit] = {{ php_memory_limit }}