﻿---
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/2423/reference/apm/agents/php
---

# 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.

## Additional Components

APM Agents work in conjunction with the [APM Server](https://docs-v3-preview.elastic.dev/elastic/docs-builder/docs/2423/solutions/observability/apm), [Elasticsearch](https://docs-v3-preview.elastic.dev/elastic/docs-builder/docs/2423/get-started), and [Kibana](https://docs-v3-preview.elastic.dev/elastic/docs-builder/docs/2423/get-started/the-stack). The [APM Guide](https://docs-v3-preview.elastic.dev/elastic/docs-builder/docs/2423/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/2423/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/2423/troubleshoot/observability/apm-agent-php/apm-php-agent).