Supported technologies
Elastic Cloud Serverless projects are autoscaled environments, fully managed by Elastic and available on Elastic Cloud. Availability This functionality is generally available and ready for production usage. The Elastic Stack includes Elastic's core products such as Elasticsearch, Kibana, Logstash, and Beats. Availability This functionality is generally available and ready for production usage. Unless stated otherwise on the page, this functionality is available when your Elastic Stack is deployed on Elastic Cloud Hosted, Elastic Cloud Enterprise, Elastic Cloud on Kubernetes, and self-managed environments. This documentation corresponds to the latest patch available for each minor version. If you're not using the latest patch, check the release notes for changes. The Elastic APM PHP agent enables you to trace the execution of operations in your PHP applications, sending performance metrics and errors to the Elastic APM Server. Availability This functionality is generally available and ready for production usage. This documentation corresponds to the latest patch available for each minor version. If you're not using the latest patch, check the release notes for changes.
Serverless Observability
Generally available
Stack
Generally available
APM Agent PHP
Generally available
The Elastic APM PHP Agent supports the technologies listed below.
Elastic supports OpenTelemetry, which allows logs, metrics, and trace signal collection for many of these technologies. Consider using the EDOT PHP SDK for observability data so you continue to get the full power of Elastic's platform.
If the agent doesn’t support your favorite technology yet, you can vote for it by participating in our survey. We will use the results to add support for the most requested technologies.
We officially support Linux systems (glibc, deb and rpm packages) and Alpine Linux (musl libc - apk packages) for x86_64 (AMD64) processors. Experimentally, we also provide packages for the ARM64 architecture - please note that these packages have not been fully tested.
The agent supports PHP versions 7.2-8.4.
Currenly we’re not supporting phpdbg - agent extension can be loaded but will remain non-functional
Automatic instrumentation for a web framework means a transaction is automatically created for each incoming request and it is named after the registered route.
We support automatic instrumentation for the following web frameworks.
| Framework | Supported versions |
|---|---|
| Framework-less PHP application (i.e., application using PHP’s built in web support) | any version bundled with a supported PHP version |
| Laravel | 6, 7, 8, 9, 10 |
| WordPress | 5, 6 |
We support automatic instrumentation for the following data access technologies.
| Data access technology | Supported versions | Notes |
|---|---|---|
| PHP Data Objects (PDO) | any version bundled with a supported PHP version | The agent automatically creates DB spans for all your PDO queries. This includes PDO queries executed by object relational mappers (ORM) like Doctrine & Eloquent. |
| MySQLi | any version bundled with a supported PHP version |
Automatic instrumentation for an HTTP client technology means an HTTP span is automatically created for each outgoing HTTP request and distributed tracing headers are propagated. The spans are named after the schema <method> <host>, for example GET elastic.co.
| Framework | Supported versions |
|---|---|
curl extension |
any version bundled with a supported PHP version |
Guzzle library |
6, 7 |
The agent automatically creates APM error events for PHP errors triggered by the monitored application. See PHP errors as APM error events for the relevant configuration settings.