From adf695639b46a4cbbcb92d5b3e32f9a1cddb9c02 Mon Sep 17 00:00:00 2001 From: Matthew Slowe Date: Wed, 18 Oct 2023 15:22:10 +0100 Subject: [PATCH] update for php81 --- rootfs/services/php/run | 2 +- rootfs/usr/local/bin/run.sh | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/rootfs/services/php/run b/rootfs/services/php/run index 822922a..a4d0073 100644 --- a/rootfs/services/php/run +++ b/rootfs/services/php/run @@ -1,2 +1,2 @@ #!/bin/sh -exec php-fpm8 +exec php-fpm81 diff --git a/rootfs/usr/local/bin/run.sh b/rootfs/usr/local/bin/run.sh index bf0db2f..6621965 100644 --- a/rootfs/usr/local/bin/run.sh +++ b/rootfs/usr/local/bin/run.sh @@ -1,8 +1,8 @@ #!/bin/sh # Set attachment size limit -sed -i "s//$UPLOAD_MAX_SIZE/g" /etc/php8/php-fpm.conf /etc/nginx/nginx.conf -sed -i "s//$MEMORY_LIMIT/g" /etc/php8/php-fpm.conf +sed -i "s//$UPLOAD_MAX_SIZE/g" /etc/php81/php-fpm.conf /etc/nginx/nginx.conf +sed -i "s//$MEMORY_LIMIT/g" /etc/php81/php-fpm.conf # Remove postfixadmin-change-password plugin if exist if [ -d "/rainloop/data/_data_/_default_/plugins/postfixadmin-change-password" ]; then @@ -14,7 +14,7 @@ if [ "$LOG_TO_STDOUT" = true ]; then echo "[INFO] Logging to stdout activated" chmod o+w /dev/stdout sed -i "s/.*error_log.*$/error_log \/dev\/stdout warn;/" /etc/nginx/nginx.conf - sed -i "s/.*error_log.*$/error_log = \/dev\/stdout/" /etc/php8/php-fpm.conf + sed -i "s/.*error_log.*$/error_log = \/dev\/stdout/" /etc/php81/php-fpm.conf fi # Add postfixadmin-change-password plugin