From 0b6a05e0614c3287655a914e0f276a3259deafb9 Mon Sep 17 00:00:00 2001 From: Shivam Mathur Date: Mon, 4 Nov 2024 07:59:45 +0530 Subject: [PATCH] Fix zts support on self-hosted envs --- src/scripts/linux.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/scripts/linux.sh b/src/scripts/linux.sh index 43c9ca1ed..6ee671bdf 100644 --- a/src/scripts/linux.sh +++ b/src/scripts/linux.sh @@ -185,7 +185,7 @@ update_php() { # Function to install PHP. add_php() { - if [ "${runner:?}" = "self-hosted" ] || [ "${use_package_cache:-true}" = "false" ]; then + if [[ "$ts" != "zts" && ("${runner:?}" = "self-hosted" || "${use_package_cache:-true}" = "false") ]]; then if [[ "$version" =~ ${nightly_versions:?} ]]; then setup_nightly else