diff --git a/testing/start_test.sh b/testing/start_test.sh index 69a5e76..9c67326 100755 --- a/testing/start_test.sh +++ b/testing/start_test.sh @@ -26,7 +26,9 @@ elif [ -d /etc/opt/rh/rh-php70/php.d ]; then fpm="scl enable rh-php70 -- php-fpm" elif [ -d /etc/php.d ]; then php_d=/etc/php.d - if [ "$ID" = fedora ] && [ "$VERSION_ID" -ge 27 ]; then + if [ "$ID" = fedora ] && [ "$VERSION_ID" -ge 27 ] || + [[ "$ID_LIKE" = *rhel* ]] && [ "$VERSION_ID" -ge 8 ] + then fpm="php-fpm" if [ -d /run ]; then