1
0
mirror of https://github.com/mail-in-a-box/mailinabox.git synced 2025-04-11 01:27:17 +00:00

fixes to installation

This commit is contained in:
KiekerJan 2022-05-21 22:58:04 +02:00
parent 55a2b9675d
commit fd9a2e3f0d
3 changed files with 6 additions and 4 deletions

View File

@ -387,8 +387,8 @@ tools/editconf.py /etc/php/$(php_version)/cli/conf.d/10-opcache.ini -c ';' \
opcache.revalidate_freq=1
# If apc is explicitly disabled we need to enable it
if grep -q apc.enabled=0 /etc/php/8.0/mods-available/apcu.ini; then
tools/editconf.py /etc/php/8.0/mods-available/apcu.ini -c ';' \
if grep -q apc.enabled=0 /etc/php/$(php_version)/mods-available/apcu.ini; then
tools/editconf.py /etc/php/$(php_version)/mods-available/apcu.ini -c ';' \
apc.enabled=1
fi

View File

@ -51,6 +51,8 @@ source setup/start.sh
EOF
chmod +x /usr/local/bin/mailinabox
git config --global --add safe.directory $(pwd)
# Ask the user for the PRIMARY_HOSTNAME, PUBLIC_IP, and PUBLIC_IPV6,
# if values have not already been set in environment variables. When running
# non-interactively, be sure to set values for all! Also sets STORAGE_USER and

View File

@ -17,7 +17,7 @@ source /etc/mailinabox.conf # load global vars
echo "Installing Z-Push (Exchange/ActiveSync server)..."
apt_install \
php-soap php-imap libawl-php php8.0-xml
php-soap php-imap libawl-php php-xml
phpenmod -v php imap
@ -102,7 +102,7 @@ EOF
# Restart service.
restart_service php8.0-fpm
restart_service php$(php_version)-fpm
# Fix states after upgrade