diff --git a/mod_php_install.sh b/mod_php_install.sh index d761245..7c18352 100755 --- a/mod_php_install.sh +++ b/mod_php_install.sh @@ -3158,7 +3158,7 @@ ping.response = $FPM_DEFAULT_POOL_PING_RESPONSE ; The access log file ; Default: not set -;access.log = log/$pool.access.log +;access.log = log/\$pool.access.log access.log = $FPM_DEFAULT_POOL_ACCESS_LOG ; The access log format. @@ -3176,7 +3176,7 @@ access.log = $FPM_DEFAULT_POOL_ACCESS_LOG ; - %{mili}d ; - %{microseconds}d ; - %{micro}d -; %e: an environment variable (same as $_ENV or $_SERVER) +; %e: an environment variable (same as \$_ENV or \$_SERVER) ; it must be associated with embraces to specify the name of the env ; variable. Some exemples: ; - server specifics like: %{REQUEST_METHOD}e or %{SERVER_PROTOCOL}e @@ -3263,7 +3263,7 @@ request_terminate_timeout = $FPM_DEFAULT_POOL_TERMINATE_TIMEOUT ; Chroot to this directory at the start. This value must be defined as an ; absolute path. When this value is not set, chroot is not used. -; Note: you can prefix with '$prefix' to chroot to the pool prefix or one +; Note: you can prefix with '\$prefix' to chroot to the pool prefix or one ; of its subdirectories. If the pool prefix is not set, the global prefix ; will be used instead. ; Note: chrooting is a great security feature and should be used whenever @@ -3296,7 +3296,7 @@ request_terminate_timeout = $FPM_DEFAULT_POOL_TERMINATE_TIMEOUT ; by clearing the environment in workers before env vars specified in this ; pool configuration are added. ; Setting to "no" will make all environment variables available to PHP code -; via getenv(), $_ENV and $_SERVER. +; via getenv(), \$_ENV and \$_SERVER. ; Default Value: yes ;clear_env = no @@ -3308,14 +3308,14 @@ request_terminate_timeout = $FPM_DEFAULT_POOL_TERMINATE_TIMEOUT ; Default Value: .php ;security.limit_extensions = .php .php3 .php4 .php5 .php7 -; Pass environment variables like LD_LIBRARY_PATH. All $VARIABLEs are taken from +; 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 -f) +env[PATH] = /usr/local/bin:/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