Skip to content
Snippets Groups Projects
Commit d2ed125e authored by Marius Burkard's avatar Marius Burkard
Browse files

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
parents 67f562d6 13aef587
No related branches found
No related tags found
No related merge requests found
......@@ -28,9 +28,11 @@ pm.max_requests = <tmpl_var name='pm_max_requests'>
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'>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment