From 924824c0f3d8721fa735801be0a766e33e8baf82 Mon Sep 17 00:00:00 2001 From: Louis-Michel Couture Date: Tue, 14 Apr 2015 01:28:24 -0400 Subject: [PATCH] Add option to disable expose_php --- defaults/main.yml | 1 + templates/php.ini.j2 | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/defaults/main.yml b/defaults/main.yml index 34db980..c57fb06 100644 --- a/defaults/main.yml +++ b/defaults/main.yml @@ -20,6 +20,7 @@ php_apc_enable_cli: "0" # Any and all changes to /etc/php.ini will be your responsibility. php_use_managed_ini: true +php_expose_php: "On" php_memory_limit: "256M" php_max_execution_time: "60" php_realpath_cache_size: "32K" diff --git a/templates/php.ini.j2 b/templates/php.ini.j2 index 2b98dc9..2970464 100644 --- a/templates/php.ini.j2 +++ b/templates/php.ini.j2 @@ -30,7 +30,7 @@ zend.enable_gc = On ; Miscellaneous ; ;;;;;;;;;;;;;;;;; -expose_php = On +expose_php = {{ php_expose_php }} ;;;;;;;;;;;;;;;;;;; ; Resource Limits ;