1
0
Fork 0
mirror of https://github.com/mlocati/docker-php-extension-installer synced 2025-05-09 00:22:40 +00:00

Add support for xhprof with PHP 8.0

This commit is contained in:
Michele Locati 2020-12-30 15:37:53 +01:00
parent c82e0855d3
commit 8b09c8b3f5
No known key found for this signature in database
GPG key ID: 98B7CE2E7234E28B
2 changed files with 2 additions and 2 deletions

View file

@ -1985,7 +1985,7 @@ configureInstaller() {
if ! stringInList 'zip' "$PHP_PREINSTALLED_MODULES"; then
PHP_MODULES_TO_INSTALL="zip $(removeStringFromList 'zip' "$PHP_MODULES_TO_INSTALL")"
fi
if anyStringInList 'swoole xdebug' "$PHP_MODULES_TO_INSTALL"; then
if anyStringInList 'swoole xdebug xhprof' "$PHP_MODULES_TO_INSTALL"; then
USE_PICKLE=2
else
curl -sSLf https://github.com/FriendsOfPHP/pickle/releases/latest/download/pickle.phar -o /tmp/pickle