From f94034e70ef42d1083b1f40fe7106eb55616c1ce Mon Sep 17 00:00:00 2001 From: Fascinated Date: Tue, 4 Jul 2023 17:28:09 +0100 Subject: [PATCH] ples work --- docker/start.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/docker/start.sh b/docker/start.sh index eef5c92..3de6c55 100644 --- a/docker/start.sh +++ b/docker/start.sh @@ -13,8 +13,6 @@ fi # Start php dep echo "Starting PHP" service php8.1-fpm start -# I don't know how to fix this properly, but it works. -chmod 777 /run/php/php8.1-fpm.sock echo "Setting max upload size to ${MAX_UPLOAD_SIZE}" sed -i "s/^upload_max_filesize = .*/upload_max_filesize = ${MAX_UPLOAD_SIZE}/" /etc/php/8.1/fpm/php.ini @@ -24,6 +22,9 @@ sed -i "s/^post_max_size = .*/post_max_size = ${MAX_UPLOAD_SIZE}/" /etc/php/8.1/ echo "Restarting PHP to apply changes for max upload size" service php8.1-fpm restart +# I don't know how to fix this properly, but it works. +chmod 777 /run/php/php8.1-fpm.sock + # Start Nginx echo "Starting Nginx" nginx -g "daemon off;" \ No newline at end of file