PHP Application Performance Monitoring

Pinpoint and solve PHP application performance issues down to the line of code. New Relic APM is the only tool you’ll need to see everything in your PHP application—from the end user experience to server monitoring. Trace problems down to slow database queries, slow 3rd party APIs and web services, caching layers, and more.

Get the Big Picture of your PHP Application

Use the Application Overview Dashboard for general information about your app and then drill down to geographical information, web transactions and errors. In one place, you can easily see:

Response time

Apdex score

Throughput (requests per minute)

Web transactions

Error rate

Recent events

Server information

Find PHP Errors and Problems Fast

Whether your app is in a dedicated data center, a public cloud or a hybrid cloud, New Relic APM works just the same. You’ll see page load times for real users by browser and geography. Find the bottlenecks in your app pinpointed down to the line of code or SQL query. Easily see the top five web transactions, their average response times and throughput, with links to transaction traces.

Report on multiple applications or virtual hosts separately so you can judge individual application performance.

Track your most business critical transactions individually with Key Transactions, including transaction-level alerting.

Create your own custom metrics and custom views on those metrics.

Analyze application performance before and after new code deployments

Get alerted to application errors and exceptions - fix problems before they affect users.

Drill Down for Detailed PHP Performance Details

The New Relic UI monitors every detail of your app, from the end user experience, through your servers, and down to the line of code. Give your entire team access to the New Relic dashboard so they can drill down into detailed information about web transactions, including key transactions, browser traces and transaction traces. Browser traces are linked with associated web app transaction traces so you get a detailed end-to-end view of a specific user interaction.

Why New Relic?

New Relic APM is the only SaaS application monitoring tool that monitors the entire PHP app. With a single product and a single UI, New Relic lets you see the whole stack, front and back, in a real-time performance dashboard you can access anytime, anywhere.

Add the New Relic repository:
sudo rpm -Uvh http://yum.newrelic.com/pub/newrelic/el5/x86_64/newrelic-repo-5-3.noarch.rpm
Install the agent:
sudo yum install newrelic-php5newrelic-install install
Note: The installer will prompt you to enter your license key. Your license key will be provided upon account creation.Note: The New Relic installer will try to drop a newrelic.ini file in place. Some PHP installations are hard for our installer to find, or will not accept files. In these cases you will need to manually edit your php.ini file.

Download the latest tarball.
Unzip and install the agent files:
sudo gzip -dc newrelic-php5-X.X.X.X-OS.tar.gz | tar xf -
cd newrelic-php5-X.X.X.X
sudo ./newrelic-install install
Note: The installer will prompt you to enter your license key.Note: The New Relic installer will try to drop a newrelic.ini file in place. Some PHP installations are hard for our installer to find, or will not accept files. In these cases you will need to manually edit your php.ini file.

Manually adding your license key

If step 2 is unsuccessful in adding your license key, you can add it manually.Add the following line to your php.ini file and replace "REPLACE_WITH_REAL_KEY" with your key:newrelic.license="REPLACE_WITH_REAL_KEY"