Add sendmail_path and open_basedir in LXC PHP pool configs
This commit is contained in:
parent
a7f718c073
commit
2e8619e5e6
2 changed files with 5 additions and 0 deletions
|
@ -14,6 +14,8 @@ The **patch** part changes is incremented if multiple releases happen the same m
|
|||
|
||||
### Changed
|
||||
|
||||
* Add sendmail_path and open_basedir in LXC PHP pool configs
|
||||
|
||||
### Fixed
|
||||
|
||||
### Removed
|
||||
|
|
|
@ -23,6 +23,7 @@ LOCAL_SCRIPT="$SCRIPTS_PATH/web-add.local.sh"
|
|||
PRE_LOCAL_SCRIPT="$SCRIPTS_PATH/web-add.pre-local.sh"
|
||||
TPL_AWSTATS="$SCRIPTS_PATH/awstats.XXX.conf"
|
||||
SSH_GROUP="evolinux-ssh"
|
||||
HOST="$(hostname -s)"
|
||||
|
||||
# Set to nginx if you use nginx and not apache
|
||||
WEB_SERVER="apache"
|
||||
|
@ -456,6 +457,8 @@ pm.max_children = 10
|
|||
pm.process_idle_timeout = 10s
|
||||
|
||||
php_admin_value[error_log] = /home/${in_login}/log/php.log
|
||||
php_admin_value[sendmail_path] = "/usr/sbin/sendmail -t -i -f www-${in_login}@${HOST}"
|
||||
php_admin_value[open_basedir] = "/usr/share/php:/home/${in_login}:/tmp"
|
||||
EOT
|
||||
step_ok "Création du pool FPM ${php_version}"
|
||||
done
|
||||
|
|
Loading…
Add table
Reference in a new issue