From 75e5f47d8438e837220b56b5cc8b5569a87cb317 Mon Sep 17 00:00:00 2001 From: Fascinated Date: Sat, 8 Jul 2023 00:32:46 +0100 Subject: [PATCH] pls work - create php dir for socket --- docker/start.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/docker/start.sh b/docker/start.sh index 137b6fb..bae9ec1 100644 --- a/docker/start.sh +++ b/docker/start.sh @@ -16,6 +16,9 @@ fi echo "env[DOCKER] = true" >> /etc/php81/php-fpm.d/www.conf echo "clear_env = no" >> /etc/php81/php-fpm.d/www.conf +# Create the directory for PHP socket +mkdir -p /run/php + # Set php-fpm to listen on socket touch /run/php/php.sock sed -i 's/^listen = .*/listen = \/run\/php\/php.sock/' /etc/php81/php-fpm.d/www.conf