Skip to content

Commit 0b6a05e

Browse files
committed
Fix zts support on self-hosted envs
1 parent 51383ec commit 0b6a05e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/scripts/linux.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ update_php() {
185185

186186
# Function to install PHP.
187187
add_php() {
188-
if [ "${runner:?}" = "self-hosted" ] || [ "${use_package_cache:-true}" = "false" ]; then
188+
if [[ "$ts" != "zts" && ("${runner:?}" = "self-hosted" || "${use_package_cache:-true}" = "false") ]]; then
189189
if [[ "$version" =~ ${nightly_versions:?} ]]; then
190190
setup_nightly
191191
else

0 commit comments

Comments
 (0)