PHP code example of lanlin / elastic-apm-agent
1. Go to this page and download the library: Download lanlin/elastic-apm-agent library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
lanlin / elastic-apm-agent example snippets
.ini
elastic_apm.bootstrap_php_part_file=<your vendor path>/lanlin/elastic-apm-agent/src/bootstrap_php_part.php