Set up the Agentedit

Set up the Agent by compiling and installing this library as a PHP extension. It is currently only available for a unix-lke operating system.

The agent supports PHP versions 7.2-7.4.

Execute the following commands to install:

cd src/ext
./configure --enable-elastic_apm
make clean
sudo make install

Enable the extension by adding the following to your elastic_apm.ini file:
elastic_apm.bootstrap_php_part_file=<repo root>/src/bootstrap_php_part.php