This commit is contained in:
CanbiZ 2025-07-22 10:48:56 +02:00
parent 2db04e501d
commit 4c35a783ad
2 changed files with 2 additions and 2 deletions

View File

@ -13,7 +13,7 @@ setting_up_container
network_check network_check
update_os update_os
PHP_VERSION="8.3" PHP_MODULE="sqlite3" PHP_APACHE="YES" setup_php PHP_VERSION="8.3" PHP_MODULE="sqlite3,mysql" PHP_APACHE="YES" setup_php
fetch_and_deploy_gh_release "linkstack" "linkstackorg/linkstack" "prebuild" "latest" "/var/www/html/linkstack" "linkstack.zip" fetch_and_deploy_gh_release "linkstack" "linkstackorg/linkstack" "prebuild" "latest" "/var/www/html/linkstack" "linkstack.zip"
msg_info "Configuring LinkStack" msg_info "Configuring LinkStack"

View File

@ -460,7 +460,7 @@ function setup_php() {
MODULE_LIST+=" php${PHP_VERSION}-fpm" MODULE_LIST+=" php${PHP_VERSION}-fpm"
fi fi
if [[ "$PHP_APACHE" == "YES" ]]; then if [[ "$PHP_APACHE" == "YES" ]]; then
$STD apt-get install -y apache2 $STD apt-get install -y apache2 libapache2-mod-php${PHP_VERSION}
$STD systemctl restart apache2 || true $STD systemctl restart apache2 || true
fi fi