Update kimai-install.sh

This commit is contained in:
CanbiZ 2025-01-20 14:26:33 +01:00 committed by GitHub
parent 70d75bf53e
commit f545c8ae5b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -27,20 +27,20 @@ $STD apt-get install -y \
lsb-release
msg_ok "Installed Dependencies"
msg_info "Setup PHP8.4 Repository"
$STD curl -sSLo /tmp/debsuryorg-archive-keyring.deb https://packages.sury.org/debsuryorg-archive-keyring.deb
$STD dpkg -i /tmp/debsuryorg-archive-keyring.deb
$STD sh -c 'echo "deb [signed-by=/usr/share/keyrings/deb.sury.org-php.gpg] https://packages.sury.org/php/ $(lsb_release -sc) main" > /etc/apt/sources.list.d/php.list'
$STD apt-get update
msg_ok "Setup PHP8.4 Repository"
#msg_info "Setup PHP8.4 Repository"
#$STD curl -sSLo /tmp/debsuryorg-archive-keyring.deb https://packages.sury.org/debsuryorg-archive-keyring.deb
#$STD dpkg -i /tmp/debsuryorg-archive-keyring.deb
#$STD sh -c 'echo "deb [signed-by=/usr/share/keyrings/deb.sury.org-php.gpg] https://packages.sury.org/php/ $(lsb_release -sc) main" > /etc/apt/sources.list.d/php.list'
#$STD apt-get update
#msg_ok "Setup PHP8.4 Repository"
msg_info "Setup PHP"
$STD apt-get remove -y php8.2*
$STD apt-get remove -y php8.3*
#$STD apt-get remove -y php8.2*
#$STD apt-get remove -y php8.3*
$STD apt-get install -y \
php8.4 \
php8.4-{mbstring,gd,intl,common,mysql,zip,xml} \
libapache2-mod-php8.4
php8.3 \
php8.3-{mbstring,gd,intl,common,mysql,zip,xml} \
libapache2-mod-php8.3
msg_info "Setup PHP"
msg_info "Setting up database"