5.4
git clone
cd Molten
/usr/local/php/bin/phpize
./configure --with-php-config=/usr/local/php/bin/php-config --enable-zipkin-header=yes
make && make install
7.1
make clean
/usr/local/php/bin/phpize
./configure --prefix=/usr/local/php7 --with-php-config=/usr/local/php7/bin/php-config --enable-zipkin-header=yes
make && make install
#要不显示文件头找不到
php.ini
[molten]
extension=molten.so
molten.enable=1
molten.service_name="local"
molten.tracing_cli=1
molten.open_report=1
molten.sampling_type=2
molten.sampling_rate=1
molten.notify_uri=""
molten.sink_http_uri=""
molten.sink_type=4
molten.sink_log_path="/tmp/molten/logs/"
在
cd example
./run.sh
阅读(6140) | 评论(0) | 转发(0) |