From 8b09c8b3f58e01d8fa5e9c75ea58a20e090f6e33 Mon Sep 17 00:00:00 2001 From: Michele Locati Date: Wed, 30 Dec 2020 15:37:53 +0100 Subject: [PATCH] Add support for xhprof with PHP 8.0 --- data/supported-extensions | 2 +- install-php-extensions | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/data/supported-extensions b/data/supported-extensions index c716958..3b4e21d 100644 --- a/data/supported-extensions +++ b/data/supported-extensions @@ -81,7 +81,7 @@ uopz 5.5 5.6 7.0 7.1 7.2 7.3 7.4 uuid 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.0 wddx 5.5 5.6 7.0 7.1 7.2 7.3 xdebug 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.0 -xhprof 5.5 5.6 7.0 7.1 7.2 7.3 7.4 +xhprof 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.0 xmlrpc 5.5 5.6 7.0 7.1 7.2 7.3 7.4 xsl 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.0 yaml 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.0 diff --git a/install-php-extensions b/install-php-extensions index c62a64e..0d4c89e 100755 --- a/install-php-extensions +++ b/install-php-extensions @@ -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