From: gggeek Date: Sun, 13 Dec 2020 17:18:35 +0000 (+0000) Subject: wip travis X-Git-Tag: plcapi-7.1-0~3^2~132 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=01e414458441a47b3ac6f3944a0c27aa28ee55a6;p=plcapi.git wip travis --- diff --git a/tests/ci/setup/setup_php_travis.sh b/tests/ci/setup/setup_php_travis.sh index 7f557c9..5e8b2d6 100755 --- a/tests/ci/setup/setup_php_travis.sh +++ b/tests/ci/setup/setup_php_travis.sh @@ -45,7 +45,7 @@ fi ~/.phpenv/versions/${PHPVER}/sbin/php-fpm # configure apache for php-fpm via mod_proxy_fcgi -sudo cp -f "$SCRIPT_DIR/../config/apache_phpfpm_proxyfcgi" "/etc/apache2/conf-available/conf-enabled/php-${PHPVER}fpm.conf" -sudo sed -i -e "s,/run/php/php-fpm.sock,/run/php/php${PHPVER}-fpm.sock,g" "/etc/apache2/conf-available/conf-enabled/php-${PHPVER}fpm.conf" +sudo cp -f "$SCRIPT_DIR/../config/apache_phpfpm_proxyfcgi" "/etc/apache2/conf-available/php-${PHPVER}fpm.conf" +sudo sed -i -e "s,/run/php/php-fpm.sock,/run/php/php${PHPVER}-fpm.sock,g" "/etc/apache2/conf-available/php-${PHPVER}fpm.conf" sudo a2enconf php${PHPVER}-fpm sudo service apache2 restart