Compare commits

...
Author SHA1 Message Date
MickLesk 2b0c1b22e8 FreshRSS: add missing PHP extensions through setup_php
apt install php-xml php-intl takes Sury's unversioned packages, which now
depend on PHP 8.6: the update put a second PHP in next to the 8.4 Apache runs,
and Apache still had no intl or xml. With the core pin fixed, apt refuses them
outright. setup_php installs php8.4-xml and php8.4-intl as the install does.
2026-11-28 12:40:13 +01:00
+1 -5
View File
@@ -38,11 +38,7 @@ function update_script() {
fi
if ! php -r 'exit((extension_loaded("intl") && extension_loaded("xml")) ? 0 : 1);' 2>/dev/null; then
msg_info "Installing missing PHP extensions"
apt_update_safe
$STD apt install -y php-xml php-intl
systemctl reload apache2
msg_ok "Installed missing PHP extensions"
PHP_VERSION="8.4" PHP_APACHE="YES" PHP_MODULE="xml,intl" setup_php
fi
if check_for_gh_release "freshrss" "FreshRSS/FreshRSS"; then