Marius Burkard
2016-07-04 d2ed125e392bd5046a7a2499dc05b798486a1c79
Merge branch 'feature/php-fpm-envpath' into 'stable-3.1'

Set default env[PATH] and env[HOSTNAME]

Set default env[PATH] and env[HOSTNAME] since it is cleared by default setting clear_env = yes in php-fpm

See merge request !363
1 files modified
2 ■■■■■ changed files
server/conf/php_fpm_pool.conf.master 2 ●●●●● patch | view | raw | blame | history
server/conf/php_fpm_pool.conf.master
@@ -28,9 +28,11 @@
chdir = /
env[HOSTNAME] = $HOSTNAME
env[TMP] = <tmpl_var name='document_root'>/tmp
env[TMPDIR] = <tmpl_var name='document_root'>/tmp
env[TEMP] = <tmpl_var name='document_root'>/tmp
env[PATH] = /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
<tmpl_if name='security_level' op='==' value='20'>
<tmpl_var name='enable_php_open_basedir'>php_admin_value[open_basedir] = <tmpl_var name='php_open_basedir'>