feat: Add PHP_FPM_INSTALL_XHPROF as an option to install xhprof extension (#2077)

* feat: Add PHP_FPM_INSTALL_XHPROF as an option to install xhprof extension
* fix: INSTALL_XHPROF default value set false
This commit is contained in:
蔡正海
2019-05-18 10:57:01 +08:00
committed by Shao Yu-Lung (Allen)
parent 7ea44ca25a
commit fbdfc41927
4 changed files with 39 additions and 0 deletions

8
php-fpm/xhprof.ini Normal file
View File

@@ -0,0 +1,8 @@
[xhprof]
; extension=xhprof.so
extension=tideways.so
xhprof.output_dir=/var/www/xhprof
; no need to autoload, control in the program
tideways.auto_prepend_library=0
; set default rate
tideways.sample_rate=100