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