Reading list Switch to dark mode

    Install New Relic for PHP applications on linux

    Updated 30 August 2014

    Applications need to be tested for their best results and i found nothing better than New Relic, a single application to monitor you coding, database, server, network of an application, also it is very easy to setup and monitor. Here are the steps tp install New relic for PHP applications on linux machine. (here i have used UBUNTU 12.04 LTS)

    #apt-get update
    #apt-get install newrelic-php5

    Now you new relic for php applications will be installed

    Install the server

    1). It Will add the repository

    #sudo echo deb http://apt.newrelic.com/debian/ newrelic non-free >> /etc/apt/sources.list.d/newrelic.list

    Start your headless eCommerce
    now.
    Find out More

    2.) For New Relic GPG key

    wget -O- https://download.newrelic.com/548C16BF.gpg | apt-key add -

    3.) update the package list

    apt-get update

    4). configure the deamon

    nrsysmond-config --set license_key=“key”  ( NOTE- for key you have to make account on New relic website and you can generate key from there, just compy that key and paste it at the place of “key”.

    5). start the service

    /etc/init.d/newrelic-sysmond start

    Now you server(what ever applications and sites and plugins are there) will sync the data to the new relic account and the results of you applications can be analyzed there.

    Even the result of Apache benchmarking to the specific page can also be viewed from the account. Here are the few snapshots of the account.

    From the snapshots we can see the page load time, time taken by specific page to load, DOM loading, network latency, server latency.

    Screenshot from 2014-08-29 17:57:35 Screenshot from 2014-08-29 17:57:58

     

    . . .

    Leave a Comment

    Your email address will not be published. Required fields are marked*


    Be the first to comment.

    Back to Top

    Message Sent!

    If you have more details or questions, you can reply to the received confirmation email.

    Back to Home