---
title: Monitor your PHP application
source: https://docs.newrelic.com/docs/apm/agents/php-agent/getting-started/monitor-your-php-app
---

Want to start monitoring your PHP application with New Relic right away? Use this guide to find the best path to start sending your application data to New Relic.

Want to learn more before you get started? [Introduction to APM](https://docs.newrelic.com/docs/apm/new-relic-apm/getting-started/introduction-apm) and [Introduction to New Relic for PHP](https://docs.newrelic.com/docs/apm/agents/php-agent/getting-started/introduction-new-relic-php) are a good place to start.

## What do you want to monitor? [#what]

We have a few paths to install the PHP agent, depending on what you're monitoring.

**App deployed in a Docker container**

You have some options for instrumenting your Docker app with the PHP agent.

-   Install via our [guided install](https://one.newrelic.com/marketplace/install-data-source?account=4355438&state=b92c9282-c3e5-cacc-95c8-f70051e7b57c) if you want your daemon and PHP agent in different containers. If you still need to create your daemon, follow the additional steps in [Docker and other container environments](https://docs.newrelic.com/docs/apm/agents/php-agent/advanced-installation/docker-other-container-environments-install-php-agent#daemon-container)
-   To set up the agent and daemon in the same container, follow [these steps](https://docs.newrelic.com/docs/apm/agents/php-agent/advanced-installation/docker-other-container-environments-install-php-agent#install-same-container). This involves downloading the [tar archive](https://docs.newrelic.com/docs/apm/agents/php-agent/installation/php-agent-installation-tar-file/) for the PHP agent.

**App deployed with RedHat, CentOS, or AWS Linux**

-   Our [guided install](https://one.newrelic.com/marketplace/install-data-source?account=4355438&state=b92c9282-c3e5-cacc-95c8-f70051e7b57c) uses `yum` to install the agent, just like our manual installation. The guided install is a great option if you want more visibility and certainty about where you are in the install process.
-   Our [manual install](https://docs.newrelic.com/docs/apm/agents/php-agent/installation/php-agent-installation-aws-linux-redhat-centos#manager-tarball) walks you through the same process, but lets you manage every step from your command line.

**App deployed with Debian or Ubuntu**

-   Our [guided install](https://one.newrelic.com/marketplace/install-data-source?account=4355438&state=b92c9282-c3e5-cacc-95c8-f70051e7b57c) uses `apt` to install the agent, just like our manual installation. The guided install is a great option if you want more visibility and certainty about where you are in the install process.
-   Our [manual install](https://docs.newrelic.com/docs/apm/agents/php-agent/installation/php-agent-installation-ubuntu-debian) walks you through the same process, but lets you manage every step from your command line.

**App deployed with other Unix flavors (using tar archive)**

If you're on a different flavor of Unix, install the agent using our [PHP tar archive](https://docs.newrelic.com/docs/apm/agents/php-agent/installation/php-agent-installation-tar-file).

**App hosted on AWS, Heroku, Magento, or other hosting providers**

Through partnerships with New Relic, you can run the PHP agent if your web app is hosted on a third party provider.

-   For AWS hosted apps, install the [Amazon CloudWatch Metric Streams integration](https://docs.newrelic.com/docs/infrastructure/amazon-integrations/connect/aws-metric-stream-setup). To learn about New Relic and AWS integrations, read [Intro to AWS integrations](https://docs.newrelic.com/docs/infrastructure/amazon-integrations/get-started/introduction-aws-integrations/).
-   For a Heroku-hosted PHP app, install the [New Relic add-on](https://docs.newrelic.com/docs/apm/agents/php-agent/advanced-installation/php-agent-heroku/#installing)
-   If you're a merchant on Magento, [follow these steps](https://docs.newrelic.com/docs/accounts/install-new-relic/partner-based-installation/log-install-new-relic-partners/#magento) to deploy the PHP agent to your Magento installation.

## What's next? [#next]

So you've instrumented your app and want next steps. You might consider:

-   [Configuring the PHP agent](https://docs.newrelic.com/docs/apm/agents/php-agent/configuration/php-agent-configuration/)
-   [Configuring the PHP agent's proxy daemon](https://docs.newrelic.com/docs/apm/agents/php-agent/configuration/proxy-daemon-newreliccfg-settings/)
-   Learning about your app's Apdex score to get [a high-level summary of your app](https://docs.newrelic.com/docs/apm/apm-ui-pages/monitoring/apm-summary-page-view-transaction-apdex-usage-data/)
-   Connecting your logs and APM data with [PHP logs in context](https://docs.newrelic.com/docs/logs/logs-context/configure-logs-context-php/)
