change to newer version of tideways/php-xhprof-extension
This commit is contained in:
parent
04c6aaf338
commit
1673c44136
|
@ -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 \
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue