sendmail_path in LXC, and better op_del #85

Merged
whirigoyen merged 10 commits from unstable into master 2023-11-30 15:53:09 +01:00
2 changed files with 5 additions and 0 deletions
Showing only changes of commit 2e8619e5e6 - Show all commits

View file

@ -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

View file

@ -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"
mtrossevin marked this conversation as resolved
Review

Seems good.

Seems good.
EOT
step_ok "Création du pool FPM ${php_version}"
done