From 81e009fa3319fcbdacc626176eaec26f20574cdb Mon Sep 17 00:00:00 2001 From: Markus Frosch Date: Tue, 6 Nov 2018 15:01:31 +0100 Subject: [PATCH] testing: Create socket path for php-fpm on Fedora --- testing/start_test.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/testing/start_test.sh b/testing/start_test.sh index 373e8e0..6718cf0 100755 --- a/testing/start_test.sh +++ b/testing/start_test.sh @@ -28,6 +28,10 @@ elif [ -d /etc/php.d ]; then php_d=/etc/php.d if [ "$ID" = fedora ] && [ "$VERSION_ID" -ge 27 ]; then fpm="php-fpm" + + if [ -d /run ]; then + mkdir -p /run/php-fpm + fi fi elif [ -d /etc/php5/conf.d ]; then php_d=/etc/php5/conf.d