change to newer version of tideways/php-xhprof-extension

This commit is contained in:
Tomoya Suzuki 2019-10-25 18:15:41 +09:00
parent 04c6aaf338
commit 1673c44136
2 changed files with 2 additions and 2 deletions

View File

@ -272,7 +272,7 @@ ARG INSTALL_XHPROF=false
RUN if [ ${INSTALL_XHPROF} = true ]; then \
# Install the php xhprof extension
if [ $(php -r "echo PHP_MAJOR_VERSION;") = 7 ]; then \
curl -L -o /tmp/xhprof.tar.gz "https://github.com/tideways/php-xhprof-extension/archive/v4.1.7.tar.gz"; \
curl -L -o /tmp/xhprof.tar.gz "https://github.com/tideways/php-xhprof-extension/archive/v5.0.1.tar.gz"; \
else \
curl -L -o /tmp/xhprof.tar.gz "https://codeload.github.com/phacility/xhprof/tar.gz/master"; \
fi \

View File

@ -1,6 +1,6 @@
[xhprof]
; extension=xhprof.so
extension=tideways.so
extension=tideways_xhprof.so
xhprof.output_dir=/var/www/xhprof
; no need to autoload, control in the program
tideways.auto_prepend_library=0