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.
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 PHP 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.
- Create A New Relic Account
Installing the agent:
Add the New Relic repository:
sudo rpm -Uvh http://yum.newrelic.com/pub/newrelic/el5/x86_64/newrelic-repo-5-3.noarch.rpmInstall the agent:
sudo yum install newrelic-php5Note: 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.
newrelic-install installGet 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.listInstall the agent:
sudo apt-get updateNote: 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.
sudo apt-get install newrelic-php5
sudo newrelic-install installDownload the latest tarball.
Unzip and install the agent files:
sudo gzip -dc newrelic-php5-X.X.X.X-OS.tar.gz | tar xf -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.
sudo ./newrelic-install install
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:
Stop and Start your services
Restart your web servers: httpd, nginx, php-fpm, etc.
- In about 5 minutes, data is being collected!