Skip to content

Commit

Permalink
Fix installing blackfire with thread-safe PHP (#1004)
Browse files Browse the repository at this point in the history
  • Loading branch information
mlocati authored Nov 11, 2024
1 parent 091f760 commit 5c38dda
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion install-php-extensions
Original file line number Diff line number Diff line change
Expand Up @@ -2984,7 +2984,7 @@ installRemoteModule() {
installRemoteModule_distro=linux
;;
esac
installRemoteModule_tmp2=$(php -r 'echo PHP_MAJOR_VERSION . PHP_MINOR_VERSION;')
installRemoteModule_tmp2=$(php -r 'echo PHP_MAJOR_VERSION . PHP_MINOR_VERSION . (ZEND_THREAD_SAFE ? "-zts" : "");')
installRemoteModule_tmp="$(mktemp -p /tmp/src -d)"
cd "$installRemoteModule_tmp"
curl -sSLf --user-agent Docker https://blackfire.io/api/v1/releases/probe/php/$installRemoteModule_distro/$installRemoteModule_tmp1/$installRemoteModule_tmp2 | tar xz
Expand Down

0 comments on commit 5c38dda

Please sign in to comment.