diff --git a/install/linkstack-install.sh b/install/linkstack-install.sh index 95105bbf..81fb19bb 100644 --- a/install/linkstack-install.sh +++ b/install/linkstack-install.sh @@ -13,7 +13,7 @@ setting_up_container network_check 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" msg_info "Configuring LinkStack" diff --git a/misc/tools.func b/misc/tools.func index 89d17102..54773b30 100644 --- a/misc/tools.func +++ b/misc/tools.func @@ -460,7 +460,7 @@ function setup_php() { MODULE_LIST+=" php${PHP_VERSION}-fpm" fi 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 fi