From 9d9bb96dc0063f6efe59e43ca2f7410c9ea99a66 Mon Sep 17 00:00:00 2001 From: x86dev Date: Mon, 17 Mar 2025 13:00:16 +0100 Subject: [PATCH] Fixes for PHP 8.4. --- root/etc/cont-init.d/50-php | 4 ++-- root/srv/update-ttrss.sh | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/root/etc/cont-init.d/50-php b/root/etc/cont-init.d/50-php index 3e327b4..57f3d8e 100755 --- a/root/etc/cont-init.d/50-php +++ b/root/etc/cont-init.d/50-php @@ -4,7 +4,7 @@ # regardless of how the package maintainer(s) named those. rm /usr/bin/php -ln -s /usr/bin/php81 /usr/bin/php +ln -s /usr/bin/php84 /usr/bin/php rm /usr/sbin/php-fpm -ln -s /usr/sbin/php-fpm81 /usr/sbin/php-fpm +ln -s /usr/sbin/php-fpm84 /usr/sbin/php-fpm diff --git a/root/srv/update-ttrss.sh b/root/srv/update-ttrss.sh index 7bedcea..638c0ce 100755 --- a/root/srv/update-ttrss.sh +++ b/root/srv/update-ttrss.sh @@ -60,7 +60,7 @@ update_common() fi echo "Updating: Updating permissions" - for CUR_DIR in /etc/nginx /etc/php81 /var/lib/nginx /etc/services.d; do + for CUR_DIR in /etc/nginx /etc/php84 /var/lib/nginx /etc/services.d; do chown -R ${MY_ROOT_UID}:${MY_ROOT_GID} ${CUR_DIR} done