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

@@ -223,6 +223,9 @@ RUN set -eux \
fi \
&& if find /usr/local/lib/php/extensions/ -name psr.so | grep psr; then \
echo "extension=psr.so" > /usr/local/etc/php/conf.d/docker-php-ext-psr.ini; \
fi \
&& if find /usr/local/lib/php/extensions/ -name xhprof.so | grep xhprof; then \
echo "extension=xhprof.so" > /usr/local/etc/php/conf.d/docker-php-ext-xhprof.ini; \
fi
###
@@ -1028,6 +1031,9 @@ RUN set -eux \
fi \
&& if find /usr/local/lib/php/extensions/ -name psr.so | grep psr; then \
echo "extension=psr.so" > /usr/local/etc/php/conf.d/docker-php-ext-psr.ini; \
fi \
&& if find /usr/local/lib/php/extensions/ -name xhprof.so | grep xhprof; then \
echo "extension=xhprof.so" > /usr/local/etc/php/conf.d/docker-php-ext-xhprof.ini; \
fi
###