This document has detailed instructions on how to build Apache SkyWalking PHP Agent from source.
git clone --recursive https://github.com/apache/skywalking-php.git cd skywalking-php # Optional, specify if php isn't installed globally. # export PHP_CONFIG=<Your path of php-config> # Build libskywalking_agent.so. make build # Install to php extension dir. make install