﻿---
title: APM PHP agent
description: The Elastic APM PHP Agent measures the performance of your application and tracks errors. It is an extension that must be installed in your PHP environment...
url: https://www.elastic.co/elastic/docs-builder/docs/3028/reference/apm/agents/php
products:
  - APM Agent
  - APM PHP Agent
applies_to:
  - Serverless Observability projects: Generally available
  - Elastic Stack: Generally available
  - Application Performance Monitoring Agent for PHP: Generally available
---

# APM PHP agent
The Elastic APM PHP Agent measures the performance of your application and tracks errors. It is an extension that must be installed in your PHP environment.
<note>
  Elastic supports OpenTelemetry, which allows logs, metrics, and trace signal collection for many of the [supported technologies](https://www.elastic.co/elastic/docs-builder/docs/3028/reference/apm/agents/php/supported-technologies) below. Consider using the [EDOT PHP SDK](https://docs-v3-preview.elastic.dev/elastic/docs-builder/docs/3028/reference/opentelemetry/edot-sdks/php) for observability data so you continue to get the full power of Elastic's platform.
</note>


## Additional Components

APM Agents work in conjunction with the [APM Server](https://docs-v3-preview.elastic.dev/elastic/docs-builder/docs/3028/solutions/observability/apm), [Elasticsearch](https://docs-v3-preview.elastic.dev/elastic/docs-builder/docs/3028/get-started), and [Kibana](https://docs-v3-preview.elastic.dev/elastic/docs-builder/docs/3028/get-started/the-stack). The [APM Guide](https://docs-v3-preview.elastic.dev/elastic/docs-builder/docs/3028/solutions/observability/apm) provides details on how these components work together, and provides a matrix outlining [Agent and Server compatibility](https://docs-v3-preview.elastic.dev/elastic/docs-builder/docs/3028/solutions/observability/apm/apm-agent-compatibility).

## Troubleshooting

If you're experiencing issues with the APM PHP agent, refer to [Troubleshoot APM PHP Agent](https://docs-v3-preview.elastic.dev/elastic/docs-builder/docs/3028/troubleshoot/observability/apm-agent-php/apm-php-agent).