pls work - create php dir for socket
Some checks failed
/ docker (push) Failing after 22s

This commit is contained in:
Lee 2023-07-08 00:32:46 +01:00
parent 1ac3a21776
commit 75e5f47d84

@ -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