When building directly from Git sources or after custom modifications you might also need:
* php 7+
* golang 1.13
* 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 command to install the SkyWalking PHP Agent in your computer.
You can run the following commands to install the SkyWalking PHP Agent.
## Install PHP Extension
```shell script
...
...
@@ -15,11 +20,10 @@ cd SkyAPM-php-sdk
phpize && ./configure && make && make install
```
## Install sky-php-agent (download or build)
### 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.
## Install sky-php-agent
### Build
For installing the sky-php-agent, you first need to build it: