From cf4d04655040c42a6db1af0650fc9a42e151511e Mon Sep 17 00:00:00 2001 From: Michel Roegl-Brunner <73236783+michelroegl-brunner@users.noreply.github.com> Date: Sat, 28 Nov 2026 15:46:44 +0100 Subject: [PATCH] Set up install PHP version in ct update scripts (#19115) * Set up install PHP version in ct update scripts * Run setup_php before the update moves the app away In monica, part-db, privatebin, freshrss and wallos setup_php ran after the app, its database or its uploads were moved or deleted. A failed PHP install (Sury mirror sync) left the container without its app. * Pass PHP modules as PHP_MODULE setup_php reads PHP_MODULE; PHP_MODULES was ignored, so matomo never got php-ldap. --------- Co-authored-by: MickLesk <47820557+MickLesk@users.noreply.github.com> --- ct/chevereto.sh | 1 + ct/cypht.sh | 1 + ct/databasement.sh | 1 + ct/domain-monitor.sh | 1 + ct/espocrm.sh | 1 + ct/freescout.sh | 1 + ct/freshrss.sh | 1 + ct/grav.sh | 1 + ct/hortusfox.sh | 1 + ct/investbrain.sh | 1 + ct/invoiceninja.sh | 1 + ct/invoiceshelf.sh | 1 + ct/koel.sh | 1 + ct/leantime.sh | 1 + ct/librenms.sh | 1 + ct/lychee.sh | 1 + ct/matomo.sh | 1 + ct/monica.sh | 1 + ct/nagios.sh | 1 + ct/netalertx.sh | 1 + ct/part-db.sh | 1 + ct/pixelfed.sh | 1 + ct/powerdns.sh | 1 + ct/pricebuddy.sh | 1 + ct/privatebin.sh | 1 + ct/projectsend.sh | 1 + ct/rss-bridge.sh | 1 + ct/shlink.sh | 1 + ct/solidtime.sh | 1 + ct/typecho.sh | 1 + ct/wallabag.sh | 1 + ct/wallos.sh | 1 + ct/watchstate.sh | 1 + ct/webtrees.sh | 1 + install/invoiceshelf-install.sh | 2 +- install/matomo-install.sh | 2 +- install/solidtime-install.sh | 2 +- install/webtrees-install.sh | 2 +- 38 files changed, 38 insertions(+), 4 deletions(-) diff --git a/ct/chevereto.sh b/ct/chevereto.sh index a23691897..f6bc411a9 100644 --- a/ct/chevereto.sh +++ b/ct/chevereto.sh @@ -40,6 +40,7 @@ function update_script() { create_backup /opt/chevereto/app/env.php /opt/chevereto/content + PHP_VERSION="8.3" PHP_FPM="YES" PHP_UPLOAD_MAX_FILESIZE="512M" PHP_POST_MAX_SIZE="512M" PHP_MAX_EXECUTION_TIME="600" setup_php CLEAN_INSTALL=1 CLEAN_INSTALL_KEEP="images" fetch_and_deploy_gh_release "chevereto" "chevereto/chevereto" "tarball" restore_backup diff --git a/ct/cypht.sh b/ct/cypht.sh index 16d615421..ab60213a2 100644 --- a/ct/cypht.sh +++ b/ct/cypht.sh @@ -39,6 +39,7 @@ function update_script() { systemctl stop nginx php8.4-fpm msg_ok "Stopped Cypht" + PHP_VERSION="8.4" PHP_FPM="YES" PHP_MODULE="soap,ldap" setup_php CLEAN_INSTALL=1 fetch_and_deploy_gh_release "cypht" "cypht-org/cypht" "prebuild" "latest" "/opt/cypht" "cypht.tar.gz" msg_info "Updating Cypht" diff --git a/ct/databasement.sh b/ct/databasement.sh index f23e84974..271edd7d9 100644 --- a/ct/databasement.sh +++ b/ct/databasement.sh @@ -36,6 +36,7 @@ function update_script() { systemctl stop databasement-worker databasement-scheduler php8.5-fpm msg_ok "Stopped Databasement" + PHP_VERSION="8.5" PHP_FPM="YES" PHP_MODULE="mongodb,smbclient" setup_php setup_composer NODE_VERSION="22" setup_nodejs diff --git a/ct/domain-monitor.sh b/ct/domain-monitor.sh index ab01f0446..dc67076db 100644 --- a/ct/domain-monitor.sh +++ b/ct/domain-monitor.sh @@ -46,6 +46,7 @@ function update_script() { create_backup /opt/domain-monitor/.env + PHP_VERSION="8.4" PHP_APACHE="YES" PHP_FPM="YES" setup_php setup_composer CLEAN_INSTALL=1 fetch_and_deploy_gh_release "domain-monitor" "Hosteroid/domain-monitor" "prebuild" "latest" "/opt/domain-monitor" "domain-monitor-v*.zip" diff --git a/ct/espocrm.sh b/ct/espocrm.sh index a080dec9c..fa9701f75 100644 --- a/ct/espocrm.sh +++ b/ct/espocrm.sh @@ -40,6 +40,7 @@ function update_script() { systemctl stop nginx cron php8.4-fpm msg_ok "Stopped Services" + PHP_VERSION="8.4" PHP_FPM="YES" PHP_MODULE="ldap" setup_php CLEAN_INSTALL=1 CLEAN_INSTALL_KEEP="data custom client/custom" fetch_and_deploy_gh_release "espo-crm" "espocrm/espocrm" "prebuild" "latest" "/opt/espocrm" "EspoCRM-*.zip" msg_info "Migrating EspoCRM" diff --git a/ct/freescout.sh b/ct/freescout.sh index 7201729b9..fc2baedb6 100644 --- a/ct/freescout.sh +++ b/ct/freescout.sh @@ -41,6 +41,7 @@ function update_script() { msg_ok "Stopped FreeScout" create_backup /opt/freescout/.env + PHP_VERSION="8.4" PHP_FPM="YES" setup_php CLEAN_INSTALL=1 CLEAN_INSTALL_KEEP="storage Modules public/modules" fetch_and_deploy_gh_release "freescout" "freescout-help-desk/freescout" "tarball" restore_backup diff --git a/ct/freshrss.sh b/ct/freshrss.sh index b11645109..361b1e60b 100644 --- a/ct/freshrss.sh +++ b/ct/freshrss.sh @@ -42,6 +42,7 @@ function update_script() { fi if check_for_gh_release "freshrss" "FreshRSS/FreshRSS"; then + PHP_VERSION="8.4" PHP_APACHE="YES" PHP_MODULE="xml,intl" setup_php msg_info "Stopping Apache2" systemctl stop apache2 msg_ok "Stopped Apache2" diff --git a/ct/grav.sh b/ct/grav.sh index f29c368e9..740cbc90c 100644 --- a/ct/grav.sh +++ b/ct/grav.sh @@ -33,6 +33,7 @@ function update_script() { fi if check_for_gh_release "grav" "getgrav/grav"; then + PHP_FPM="YES" setup_php msg_info "Creating Backup" cd /opt/grav bin/grav backup -nq diff --git a/ct/hortusfox.sh b/ct/hortusfox.sh index 7b73a7510..5ae249616 100644 --- a/ct/hortusfox.sh +++ b/ct/hortusfox.sh @@ -61,6 +61,7 @@ function update_script() { /opt/hortusfox/public/img \ /opt/hortusfox/public/themes + PHP_VERSION="8.3" PHP_APACHE="YES" setup_php CLEAN_INSTALL=1 CLEAN_INSTALL_KEEP="public/attachments public/backup public/exports public/snd" fetch_and_deploy_gh_release "hortusfox" "danielbrendel/hortusfox-web" "tarball" restore_backup diff --git a/ct/investbrain.sh b/ct/investbrain.sh index e92143b18..cdfa383fe 100644 --- a/ct/investbrain.sh +++ b/ct/investbrain.sh @@ -38,6 +38,7 @@ function update_script() { $STD supervisorctl stop all msg_ok "Services Stopped" + PHP_VERSION="8.4" PHP_FPM="YES" PHP_MODULE="pdo-pgsql" setup_php setup_composer NODE_VERSION="22" setup_nodejs PG_VERSION="17" setup_postgresql diff --git a/ct/invoiceninja.sh b/ct/invoiceninja.sh index 55afd48c4..e407b99d8 100644 --- a/ct/invoiceninja.sh +++ b/ct/invoiceninja.sh @@ -38,6 +38,7 @@ function update_script() { create_backup /opt/invoiceninja/.env /opt/invoiceninja/storage /opt/invoiceninja/public/storage /opt/invoiceninja/vendor/beganovich/snappdf/versions + PHP_VERSION="8.4" PHP_FPM="YES" PHP_MODULE="soap" setup_php CLEAN_INSTALL=1 fetch_and_deploy_gh_release "invoiceninja" "invoiceninja/invoiceninja" "prebuild" "latest" "/opt/invoiceninja" "invoiceninja.tar.gz" restore_backup diff --git a/ct/invoiceshelf.sh b/ct/invoiceshelf.sh index cc05f9daf..0756e2957 100644 --- a/ct/invoiceshelf.sh +++ b/ct/invoiceshelf.sh @@ -48,6 +48,7 @@ EOF create_backup /opt/invoiceshelf/.env + PHP_VERSION="8.4" PHP_FPM="YES" PHP_MODULE="bcmath,gd,intl,xml,zip,pdo_pgsql,mbstring,curl,exif" setup_php CLEAN_INSTALL=1 CLEAN_INSTALL_KEEP="storage" fetch_and_deploy_gh_release "invoiceshelf" "InvoiceShelf/InvoiceShelf" "tarball" restore_backup diff --git a/ct/koel.sh b/ct/koel.sh index 668843dc1..249641633 100644 --- a/ct/koel.sh +++ b/ct/koel.sh @@ -40,6 +40,7 @@ function update_script() { create_backup /opt/koel/.env /opt/koel/storage /opt/koel/public/img + PHP_VERSION="8.4" PHP_FPM="YES" setup_php CLEAN_INSTALL=1 fetch_and_deploy_gh_release "koel" "koel/koel" "prebuild" "latest" "/opt/koel" "koel-*.tar.gz" restore_backup diff --git a/ct/leantime.sh b/ct/leantime.sh index b39e942f0..e65a2bda4 100644 --- a/ct/leantime.sh +++ b/ct/leantime.sh @@ -39,6 +39,7 @@ function update_script() { create_backup /opt/leantime/config/.env + PHP_VERSION="8.4" PHP_APACHE="YES" PHP_FPM="YES" setup_php CLEAN_INSTALL=1 fetch_and_deploy_gh_release "leantime" "Leantime/leantime" "prebuild" "latest" "/opt/leantime" Leantime*.tar.gz restore_backup diff --git a/ct/librenms.sh b/ct/librenms.sh index aab285b0e..09f60e65e 100644 --- a/ct/librenms.sh +++ b/ct/librenms.sh @@ -38,6 +38,7 @@ function update_script() { msg_ok "Stopped Services" create_backup /opt/librenms/.env /opt/librenms/config.php + PHP_VERSION="8.4" PHP_FPM="YES" PHP_MODULE="cli,snmp,gmp" setup_php CLEAN_INSTALL=1 CLEAN_INSTALL_KEEP="rrd" fetch_and_deploy_gh_release "librenms" "librenms/librenms" "tarball" restore_backup diff --git a/ct/lychee.sh b/ct/lychee.sh index ac8e56878..d071dc3a7 100644 --- a/ct/lychee.sh +++ b/ct/lychee.sh @@ -43,6 +43,7 @@ function update_script() { /opt/lychee/public/uploads \ /opt/lychee/public/dist + PHP_VERSION="8.4" PHP_FPM="YES" PHP_MODULE="bcmath,ldap,exif,gd,intl,imagick,redis,zip,pdo_pgsql,pcntl" setup_php CLEAN_INSTALL=1 fetch_and_deploy_gh_release "lychee" "LycheeOrg/Lychee" "prebuild" "latest" "/opt/lychee" "Lychee.zip" restore_backup diff --git a/ct/matomo.sh b/ct/matomo.sh index 4c65ad230..0e73c7b32 100644 --- a/ct/matomo.sh +++ b/ct/matomo.sh @@ -38,6 +38,7 @@ function update_script() { create_backup /opt/matomo/config/config.ini.php /opt/matomo/misc/user /root/matomo.creds + PHP_VERSION="8.3" PHP_FPM="YES" PHP_MODULE="pdo_mysql,gd,mbstring,xml,curl,intl,zip,ldap" setup_php CLEAN_INSTALL=1 fetch_and_deploy_gh_release "matomo" "matomo-org/matomo" "prebuild" "latest" "/opt/matomo" "matomo-*.zip" msg_info "Setting up Matomo" diff --git a/ct/monica.sh b/ct/monica.sh index f592c4451..f8ff000d7 100644 --- a/ct/monica.sh +++ b/ct/monica.sh @@ -39,6 +39,7 @@ function update_script() { fi if check_for_gh_release "monica" "monicahq/monica"; then + PHP_VERSION="8.2" PHP_APACHE="YES" PHP_MODULE="mysqli,pdo-mysql" setup_php msg_info "Stopping Service" systemctl stop apache2 msg_ok "Stopped Service" diff --git a/ct/nagios.sh b/ct/nagios.sh index 1194428ca..8fe650bcc 100644 --- a/ct/nagios.sh +++ b/ct/nagios.sh @@ -40,6 +40,7 @@ function update_script() { systemctl stop nagios msg_ok "Stopped Nagios" + PHP_APACHE="YES" setup_php CLEAN_INSTALL=1 fetch_and_deploy_gh_release "nagios" "NagiosEnterprises/nagioscore" "tarball" msg_info "Building Nagios Core" diff --git a/ct/netalertx.sh b/ct/netalertx.sh index f410a4732..2c3484f17 100644 --- a/ct/netalertx.sh +++ b/ct/netalertx.sh @@ -36,6 +36,7 @@ function update_script() { systemctl stop netalertx msg_ok "Stopped NetAlertX" + PHP_VERSION="8.4" PHP_FPM="YES" PHP_MODULE="curl,sqlite3" setup_php CLEAN_INSTALL=1 CLEAN_INSTALL_KEEP=".venv" fetch_and_deploy_gh_release "netalertx" "netalertx/NetAlertX" "tarball" msg_info "Updating NetAlertX" diff --git a/ct/part-db.sh b/ct/part-db.sh index 73e631f8f..f568e20ae 100644 --- a/ct/part-db.sh +++ b/ct/part-db.sh @@ -31,6 +31,7 @@ function update_script() { fi if check_for_gh_release "partdb" "Part-DB/Part-DB-server"; then + PHP_VERSION="8.4" PHP_APACHE="YES" PHP_MODULE="xsl" PHP_POST_MAX_SIZE="100M" PHP_UPLOAD_MAX_FILESIZE="100M" setup_php msg_info "Stopping Service" systemctl stop apache2 msg_ok "Stopped Service" diff --git a/ct/pixelfed.sh b/ct/pixelfed.sh index 738cc1894..9e3cab746 100644 --- a/ct/pixelfed.sh +++ b/ct/pixelfed.sh @@ -40,6 +40,7 @@ function update_script() { create_backup /opt/pixelfed/.env \ /opt/pixelfed/storage + PHP_VERSION="8.4" PHP_FPM="YES" PHP_MODULE="bcmath,ctype,curl,exif,gd,imagick,intl,mbstring,pgsql,redis,xml,zip" PHP_UPLOAD_MAX_FILESIZE="500M" PHP_POST_MAX_SIZE="500M" PHP_MAX_EXECUTION_TIME="600" setup_php CLEAN_INSTALL=1 fetch_and_deploy_gh_release "pixelfed" "pixelfed/pixelfed" "tarball" "latest" "/opt/pixelfed" restore_backup diff --git a/ct/powerdns.sh b/ct/powerdns.sh index 2cf237b43..ef59f7783 100644 --- a/ct/powerdns.sh +++ b/ct/powerdns.sh @@ -52,6 +52,7 @@ function update_script() { if check_for_gh_release "poweradmin" "poweradmin/poweradmin"; then create_backup /opt/poweradmin/config/settings.php + PHP_VERSION="8.3" PHP_APACHE="YES" PHP_FPM="YES" PHP_MODULE="gettext,tokenizer,sqlite3,ldap" setup_php CLEAN_INSTALL=1 fetch_and_deploy_gh_release "poweradmin" "poweradmin/poweradmin" "tarball" restore_backup diff --git a/ct/pricebuddy.sh b/ct/pricebuddy.sh index 3d0c001b1..e7ba47fac 100644 --- a/ct/pricebuddy.sh +++ b/ct/pricebuddy.sh @@ -36,6 +36,7 @@ function update_script() { systemctl stop pricebuddy-worker msg_ok "Stopped PriceBuddy Worker" + PHP_VERSION="8.4" PHP_FPM="YES" PHP_MEMORY_LIMIT="2048M" setup_php setup_composer NODE_VERSION="22" setup_nodejs diff --git a/ct/privatebin.sh b/ct/privatebin.sh index 4cec56f2c..97c2f4b20 100644 --- a/ct/privatebin.sh +++ b/ct/privatebin.sh @@ -30,6 +30,7 @@ function update_script() { exit fi if check_for_gh_release "privatebin" "PrivateBin/PrivateBin"; then + PHP_VERSION="8.2" PHP_FPM="YES" setup_php msg_info "Creating backup" cp -f /opt/privatebin/cfg/conf.php /tmp/privatebin_conf.bak msg_ok "Backup created" diff --git a/ct/projectsend.sh b/ct/projectsend.sh index d99b91138..07875a16a 100644 --- a/ct/projectsend.sh +++ b/ct/projectsend.sh @@ -44,6 +44,7 @@ function update_script() { create_backup /opt/projectsend/.env /opt/projectsend/storage/app/files + PHP_VERSION="8.4" PHP_FPM="YES" PHP_MODULE="ldap,pcntl" setup_php CLEAN_INSTALL=1 fetch_and_deploy_gh_release "projectsend" "projectsend/projectsend" "prebuild" "latest" "/opt/projectsend" restore_backup diff --git a/ct/rss-bridge.sh b/ct/rss-bridge.sh index de2f37ce6..65ccb31f6 100644 --- a/ct/rss-bridge.sh +++ b/ct/rss-bridge.sh @@ -34,6 +34,7 @@ function update_script() { if check_for_gh_release "rss-bridge" "RSS-Bridge/rss-bridge"; then create_backup /opt/rss-bridge/config.ini.php + PHP_VERSION="8.4" PHP_FPM="YES" setup_php CLEAN_INSTALL=1 fetch_and_deploy_gh_release "rss-bridge" "RSS-Bridge/rss-bridge" "tarball" restore_backup diff --git a/ct/shlink.sh b/ct/shlink.sh index d2ba70a39..3d6e3a9a5 100644 --- a/ct/shlink.sh +++ b/ct/shlink.sh @@ -38,6 +38,7 @@ function update_script() { create_backup /opt/shlink/.env /opt/shlink/data + PHP_VERSION="8.5" setup_php CLEAN_INSTALL=1 fetch_and_deploy_gh_release "shlink" "shlinkio/shlink" "prebuild" "latest" "/opt/shlink" "shlink*_php8.5_dist.zip" restore_backup diff --git a/ct/solidtime.sh b/ct/solidtime.sh index f93dd54b7..3a0aea9c3 100644 --- a/ct/solidtime.sh +++ b/ct/solidtime.sh @@ -40,6 +40,7 @@ function update_script() { create_backup /opt/solidtime/.env + PHP_VERSION="8.3" PHP_FPM="YES" PHP_MODULE="bcmath,gd,intl,xml,zip,pdo_pgsql,redis,mbstring,curl" setup_php CLEAN_INSTALL=1 CLEAN_INSTALL_KEEP="storage" fetch_and_deploy_gh_release "solidtime" "solidtime-io/solidtime" "tarball" restore_backup diff --git a/ct/typecho.sh b/ct/typecho.sh index 7cb42af59..258716bb4 100644 --- a/ct/typecho.sh +++ b/ct/typecho.sh @@ -39,6 +39,7 @@ function update_script() { systemctl stop nginx msg_ok "Stopped Typecho" + PHP_FPM="YES" setup_php CLEAN_INSTALL=1 fetch_and_deploy_gh_release "typecho" "typecho/typecho" "prebuild" "latest" "/opt/typecho" "typecho.zip" fetch_and_deploy_from_url "https://github.com/typecho/languages/releases/download/ci/langs.zip" "/opt/typecho_data/usr/langs" diff --git a/ct/wallabag.sh b/ct/wallabag.sh index 8c1c9fcbb..f60df951d 100644 --- a/ct/wallabag.sh +++ b/ct/wallabag.sh @@ -41,6 +41,7 @@ function update_script() { create_backup /opt/wallabag/app/config/parameters.yml + PHP_VERSION="8.3" PHP_FPM="YES" PHP_MODULE="tidy" setup_php CLEAN_INSTALL=1 fetch_and_deploy_gh_release "wallabag" "wallabag/wallabag" "prebuild" "latest" "/opt/wallabag" "wallabag-*.tar.gz" restore_backup diff --git a/ct/wallos.sh b/ct/wallos.sh index 6ea901ebe..c2eeb9da4 100644 --- a/ct/wallos.sh +++ b/ct/wallos.sh @@ -31,6 +31,7 @@ function update_script() { fi if check_for_gh_release "wallos" "ellite/Wallos"; then + PHP_VERSION="8.4" PHP_APACHE="YES" setup_php msg_info "Creating backup" mkdir -p /opt/logos mv /opt/wallos/db/wallos.db /opt/wallos.db diff --git a/ct/watchstate.sh b/ct/watchstate.sh index 0238436f0..9f7fb2544 100644 --- a/ct/watchstate.sh +++ b/ct/watchstate.sh @@ -37,6 +37,7 @@ function update_script() { msg_ok "Stopped WatchState" create_backup /opt/watchstate/.env + PHP_VERSION="8.5" PHP_FPM="YES" setup_php setup_composer NODE_VERSION="24" NODE_MODULE="bun" setup_nodejs CLEAN_INSTALL=1 fetch_and_deploy_gh_release "watchstate" "arabcoders/watchstate" "tarball" "latest" "/opt/watchstate" "" "v" diff --git a/ct/webtrees.sh b/ct/webtrees.sh index 58b958f20..b95b2a4b6 100644 --- a/ct/webtrees.sh +++ b/ct/webtrees.sh @@ -53,6 +53,7 @@ function update_script() { create_backup /opt/webtrees/data + PHP_VERSION="8.3" PHP_FPM="YES" PHP_MODULE="bcmath,gd,intl,xml,zip,pdo_mysql,mbstring,curl" setup_php CLEAN_INSTALL=1 fetch_and_deploy_gh_release "webtrees" "fisharebest/webtrees" "prebuild" "latest" "/opt/webtrees" "webtrees-*.zip" restore_backup diff --git a/install/invoiceshelf-install.sh b/install/invoiceshelf-install.sh index c60201b05..337875b78 100644 --- a/install/invoiceshelf-install.sh +++ b/install/invoiceshelf-install.sh @@ -17,7 +17,7 @@ msg_info "Installing Dependencies" $STD apt install -y caddy msg_ok "Installed Dependencies" -PHP_VERSION="8.4" PHP_FPM="YES" PHP_MODULES="bcmath,gd,intl,xml,zip,pdo_pgsql,mbstring,curl,exif" setup_php +PHP_VERSION="8.4" PHP_FPM="YES" PHP_MODULE="bcmath,gd,intl,xml,zip,pdo_pgsql,mbstring,curl,exif" setup_php setup_composer NODE_VERSION="24" NODE_MODULE="corepack,pnpm" setup_nodejs PG_VERSION="16" setup_postgresql diff --git a/install/matomo-install.sh b/install/matomo-install.sh index ceaf08d6d..4d50f2da6 100644 --- a/install/matomo-install.sh +++ b/install/matomo-install.sh @@ -19,7 +19,7 @@ msg_ok "Installed Dependencies" mkdir -p /opt/matomo -PHP_VERSION="8.3" PHP_FPM="YES" PHP_MODULES="pdo_mysql,gd,mbstring,xml,curl,intl,zip,ldap" setup_php +PHP_VERSION="8.3" PHP_FPM="YES" PHP_MODULE="pdo_mysql,gd,mbstring,xml,curl,intl,zip,ldap" setup_php setup_mariadb MARIADB_DB_NAME="matomo" MARIADB_DB_USER="matomo" setup_mariadb_db diff --git a/install/solidtime-install.sh b/install/solidtime-install.sh index 739c72b07..3de6a7488 100644 --- a/install/solidtime-install.sh +++ b/install/solidtime-install.sh @@ -17,7 +17,7 @@ msg_info "Installing Dependencies" $STD apt install -y caddy msg_ok "Installed Dependencies" -PHP_VERSION="8.3" PHP_FPM="YES" PHP_MODULES="bcmath,gd,intl,xml,zip,pdo_pgsql,redis,mbstring,curl" setup_php +PHP_VERSION="8.3" PHP_FPM="YES" PHP_MODULE="bcmath,gd,intl,xml,zip,pdo_pgsql,redis,mbstring,curl" setup_php setup_composer NODE_VERSION="22" setup_nodejs PG_VERSION="16" setup_postgresql diff --git a/install/webtrees-install.sh b/install/webtrees-install.sh index 87d0a4860..65a146a13 100644 --- a/install/webtrees-install.sh +++ b/install/webtrees-install.sh @@ -19,7 +19,7 @@ $STD apt install -y \ unzip msg_ok "Installed Dependencies" -PHP_VERSION="8.3" PHP_FPM="YES" PHP_MODULES="bcmath,gd,intl,xml,zip,pdo_mysql,mbstring,curl" setup_php +PHP_VERSION="8.3" PHP_FPM="YES" PHP_MODULE="bcmath,gd,intl,xml,zip,pdo_mysql,mbstring,curl" setup_php setup_mariadb MARIADB_DB_NAME="webtrees" MARIADB_DB_USER="webtrees" setup_mariadb_db $STD mariadb -u root -e "GRANT ALL ON \`webtrees\`.* TO 'webtrees'@'127.0.0.1' IDENTIFIED BY '${MARIADB_DB_PASS}'; FLUSH PRIVILEGES;"