@@ -689,6 +689,17 @@ RUN set -eux \
689689 && true
690690
691691
692+ # -------------------- Installing PHP Extension: xhprof --------------------
693+ RUN set -eux \
694+ # Installation: Version specific
695+ # Type: PECL extension
696+ # Default: Pecl command
697+ && pecl install xhprof-0.9.4 \
698+ # Enabling
699+ && docker-php-ext-enable xhprof \
700+ && true
701+
702+
692703# -------------------- Installing PHP Extension: xmlrpc --------------------
693704RUN set -eux \
694705 # Installation: Generic
@@ -1032,6 +1043,8 @@ RUN set -eux \
10321043 && php-fpm -m | grep -oiE '^wddx$' \
10331044 && php -m | grep -oiE '^xdebug$' \
10341045 && php-fpm -m | grep -oiE '^xdebug$' \
1046+ && php -m | grep -oiE '^xhprof$' \
1047+ && php-fpm -m | grep -oiE '^xhprof$' \
10351048 && php -m | grep -oiE '^xmlreader$' \
10361049 && php-fpm -m | grep -oiE '^xmlreader$' \
10371050 && php -m | grep -oiE '^xmlrpc$' \
@@ -1047,11 +1060,13 @@ RUN set -eux \
10471060 && true
10481061
10491062
1050- # Deactive PSR and Phalcon:
1063+ # Deactivate PSR and Phalcon:
10511064# https://github.com/devilbox/docker-php-fpm/issues/201
1065+ # Deactivate xhprof (might collide with Xdebug)
10521066RUN set -eux \
10531067 && rm -f /usr/local/etc/php/conf.d/docker-php-ext-phalcon.ini || true \
10541068 && rm -f /usr/local/etc/php/conf.d/docker-php-ext-psr.ini || true \
1069+ && rm -f /usr/local/etc/php/conf.d/docker-php-ext-xhprof.ini || true \
10551070
10561071
10571072# ##
0 commit comments