From 30444b610a94b1e9f8bcf0dd0f28fa17e3468daf Mon Sep 17 00:00:00 2001
From: gggeek <giunta.gaetano@gmail.com>
Date: Sun, 13 Dec 2020 19:50:32 +0000
Subject: [PATCH] travis tests

---
 tests/ci/setup/setup_php_travis.sh | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/tests/ci/setup/setup_php_travis.sh b/tests/ci/setup/setup_php_travis.sh
index 650e91b3..d8c3ebd4 100755
--- a/tests/ci/setup/setup_php_travis.sh
+++ b/tests/ci/setup/setup_php_travis.sh
@@ -47,7 +47,8 @@ fi
 # Use a unix socket for communication between apache and php-fpm - same as stock Ubuntu does
 sed -i -e "s,listen = 127.0.0.1:9000,listen = /run/php/php-fpm.sock,g" ~/.phpenv/versions/${PHPVER}/etc/php-fpm.d/www.conf
 
-mkdir /run/php
+sudo mkdir /run/php
+sudo chown travis:travis /run/php
 # @todo run php-fpm as root, and set up 'travis' as user in www.conf, instead ?
 ~/.phpenv/versions/${PHPVER}/sbin/php-fpm
 
-- 
2.47.0