提交 486b6a67 编写于 作者: H heyanlong

install

上级 3df33001
When building directly from Git sources or after custom modifications you might also need: When building directly from Git sources or after custom modifications you might also need:
* pkg-config
* grpc latest version
* protoc latest version
* php 7+ * php 7+
* SkyWalking Collector * SkyWalking Collector
...@@ -16,10 +13,8 @@ git clone https://github.com/SkyAPM/SkyAPM-php-sdk.git ...@@ -16,10 +13,8 @@ git clone https://github.com/SkyAPM/SkyAPM-php-sdk.git
cd SkyAPM-php-sdk cd SkyAPM-php-sdk
phpize && ./configure && make && make install phpize && ./configure && make && make install
// install report_client // download report_client_linux
cd src/report wget https://github.com/..... && cp report_client_linux report_client /usr/bin
make
cp report_client /usr/bin
``` ```
# How to use # How to use
...@@ -35,17 +30,11 @@ skywalking.enable = 1 ...@@ -35,17 +30,11 @@ skywalking.enable = 1
skywalking.version = 6 skywalking.version = 6
; Set app code e.g. MyProjectName ; Set app code e.g. MyProjectName
skywalking.app_code = MyProjectName skywalking.app_code = MyProjectName
; Set skyWalking collector grpc address
skywalking.grpc = 127.0.0.1:11800
; Set log path
skywalking.log_path = /tmp
; Set http header version
skywalking.header_version = 2
``` ```
Run `report_client` to send PHP generated log information to `SkyWalking collector` Run `report_client` to send PHP generated log information to `SkyWalking collector`
```shell ```shell
// report_client [collector grpc address] [log path] // report_client [collector grpc address]
// e.g. // e.g.
report_client 120.0.0.1:11800 /tmp report_client 127.0.0.1:11800
``` ```
\ No newline at end of file
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册