From 37b27a0680956c0d7f6b225bc56aa9c51865b61c Mon Sep 17 00:00:00 2001
From: Andrea Dell'Amico <adellam@isti.cnr.it>
Date: Tue, 12 Jun 2018 18:01:12 +0200
Subject: [PATCH] library/roles/php-fpm/templates/php-fpm-pool.conf.j2: Enable
 some environment variables.

---
 php-fpm/templates/php-fpm-pool.conf.j2 | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/php-fpm/templates/php-fpm-pool.conf.j2 b/php-fpm/templates/php-fpm-pool.conf.j2
index 05da099..df3c45d 100644
--- a/php-fpm/templates/php-fpm-pool.conf.j2
+++ b/php-fpm/templates/php-fpm-pool.conf.j2
@@ -249,11 +249,11 @@ security.limit_extensions = {{ item.php_extensions | default('.php') }}
 ; Pass environment variables like LD_LIBRARY_PATH. All $VARIABLEs are taken from
 ; the current environment.
 ; Default Value: clean env
-;env[HOSTNAME] = $HOSTNAME
-;env[PATH] = /usr/local/bin:/usr/bin:/bin
-;env[TMP] = /tmp
-;env[TMPDIR] = /tmp
-;env[TEMP] = /tmp
+env[HOSTNAME] = $HOSTNAME
+env[PATH] = /usr/bin:/bin
+env[TMP] = /tmp
+env[TMPDIR] = /tmp
+env[TEMP] = /tmp
 
 ; Additional php.ini defines, specific to this pool of workers. These settings
 ; overwrite the values previously defined in the php.ini. The directives are the