Skip to content

Commit

Permalink
Fix zts support on self-hosted envs
Browse files Browse the repository at this point in the history
  • Loading branch information
shivammathur committed Nov 4, 2024
1 parent 51383ec commit 0b6a05e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/scripts/linux.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 0b6a05e

Please sign in to comment.