Merge pull request #2342 from yamotuki/fix_xhprof_version
change to newer version of tideways/php-xhprof-extension
This commit is contained in:
commit
53558480e8
@ -276,8 +276,8 @@ 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"; \
|
||||
else \
|
||||
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 \
|
||||
&& mkdir -p xhprof \
|
||||
|
@ -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
Block a user