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.

View Installation Instructions

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.

Support for Every Major Language and Platform

We support all the major frameworks right out of the box including:

Read our case studies to see how thousands of companies have used New Relic for Ruby app monitoring.

View Case Studies

“How do I install the New Relic agent?”

Glad you asked! Here's an example process typical for a PHP agent installation. Your process may differ depending on the environment you're adding the New Relic agent to.


  1. Create A New Relic Account
  2. Installing the agent: RPM-based | Debian-based | Others
    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-php5
    newrelic-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.
    Get the key: sudo wget -O - http://download.newrelic.com/??????.gpg | apt-key add - Add our repository: sudo echo "deb http://apt.newrelic.com/debian/ newrelic non-free" > /etc/apt/sources.list.d/newrelic.list Install the agent: sudo apt-get update
    sudo apt-get install newrelic-php5
    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.
    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.
  3. 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"
  4. Stop and Start your services
    Restart your web servers: httpd, nginx, php-fpm, etc.
  5. In about 5 minutes, data is being collected!

Create My Free Account

Product

New Relic APM

New Relic Mobile

New Relic Insights

New Relic Servers

New Relic Browser

New Relic Platform

New Relic for iOS & Android

Support

New Relic Status

Documentation

Community Forum

Get Support

Security

Contact Us

Topics

DevOps

Software Analytics

Mobile

Solutions

Application Development

Production Monitoring

Real-Time Analytics

Mobile Application Management

Resources

Case Studies

Videos

Datasheets

White Papers

eBooks

Analyst Reports

Infographics

Tutorials

Webinars

Latest Resources

It's free, it's fast. Get the insights you need to improve your application's performance.

Create Free Account