PHP APM - Setup & Installation Docs | Middleware
Traces | Metrics | App Logs | Custom Logs | Profiling |
---|---|---|---|---|
✅ | ✖️ | ✖️ | ✅ | ✖️ |
Infra Agent
PHP Version
PHP version 8.2
or above. Check your PHP version with the following command:PHP
Extensionsotel-instrumentation
php.ini
Filephp.ini
file can be found using the following commands based on your Linux distribution:
PHP
APM Packagecomposer.json
file in your project’s root directory.
composer.json
file already created, create one using using the composer init
command.DOCKER_BRIDGE_GATEWAY_ADDRESS
is the IP address of the gateway between the Docker host and bridge network. This is 172.17.0.1
by default.
Learn more about Docker bridge networking here pecl: command not found error
pecl: command not found error
, run the following command:
libpcre2-dev : Depends: libpcre2-8-0 / libpcre2-16-0 / libpcre2-32-0
, run the following command:
ERROR: ‘phpize’ failed error
ERROR: ‘phpize’ failed error
, run the following commands:
.ini
file located in the /home/html/ini
directory of your Azure account:
New application setting
. Add the following Name and Value to the New application setting
:
azure-pipelines.yml
file:
Opentelemetry
and the middleware/agent-apm-php