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:
* php 7+
* php 7+
* golang 1.13
* golang 1.13
* SkyWalking Collector
* SkyWalking Collector
## PHP extension + Agent
The collect data from your instance you need both the PHP extension, and the agent.
No pre built binaries or PHP extension are availble at the moment, so you need to
build them from source.
# Install SkyWalking PHP Agent
You can run the following commands to install the SkyWalking PHP Agent.
You can run the following command to install the SkyWalking PHP Agent in your computer.
## Install PHP Extension
## Install PHP Extension
```shell script
```shell script
...
@@ -15,11 +20,10 @@ cd SkyAPM-php-sdk
...
@@ -15,11 +20,10 @@ cd SkyAPM-php-sdk
phpize && ./configure && make && make install
phpize && ./configure && make && make install
```
```
## Install sky-php-agent (download or build)
## Install sky-php-agent
### Download sky-php-agent
Go to [release](https://github.com/SkyAPM/SkyAPM-php-sdk/releases) page to download the sky-php-agent required by your platform. Currently there are Linux (amd64, arm64) and Mac versions.
### Build
### Build
For installing the sky-php-agent, you first need to build it: