Add xhprof

This commit is contained in:
cytopia
2023-01-01 13:04:35 +01:00
parent 26c4fb5419
commit 3770ac24ff
50 changed files with 425 additions and 14 deletions

View File

@@ -851,6 +851,17 @@ RUN set -eux \
&& true
# -------------------- Installing PHP Extension: xhprof --------------------
RUN set -eux \
# Installation: Generic
# Type: PECL extension
# Default: Pecl command
&& pecl install xhprof \
# Enabling
&& docker-php-ext-enable xhprof \
&& true
# -------------------- Installing PHP Extension: xlswriter --------------------
RUN set -eux \
# Installation: Generic
@@ -1217,6 +1228,8 @@ RUN set -eux \
&& php-fpm -m | grep -oiE '^wddx$' \
&& php -m | grep -oiE '^xdebug$' \
&& php-fpm -m | grep -oiE '^xdebug$' \
&& php -m | grep -oiE '^xhprof$' \
&& php-fpm -m | grep -oiE '^xhprof$' \
&& php -m | grep -oiE '^xlswriter$' \
&& php-fpm -m | grep -oiE '^xlswriter$' \
&& php -m | grep -oiE '^xmlreader$' \
@@ -1234,11 +1247,13 @@ RUN set -eux \
&& true
# Deactive PSR and Phalcon:
# Deactivate PSR and Phalcon:
# https://github.com/devilbox/docker-php-fpm/issues/201
# Deactivate xhprof (might collide with Xdebug)
RUN set -eux \
&& rm -f /usr/local/etc/php/conf.d/docker-php-ext-phalcon.ini || true \
&& rm -f /usr/local/etc/php/conf.d/docker-php-ext-psr.ini || true \
&& rm -f /usr/local/etc/php/conf.d/docker-php-ext-xhprof.ini || true \
###