Debian

  1. Download the latest Debian agent from:

    copy
    icon/buttons/copy
    // Download Debian tarball
    wget https://s3.amazonaws.com/atatus-artifacts/atatus-php/downloads/atatus-php-1.14.0-x64-debian.tar.gz
    
  2. Unzip the agent files

    copy
    icon/buttons/copy
    tar -xzvf atatus-php-1.14.0-x64-debian.tar.gz
    cd atatus-php-1.14.0-x64-debian
    
  3. Install the php agent

    copy
    icon/buttons/copy
    sudo ATATUS_LICENSE_KEY="APM_LIC_KEY" ATATUS_APP_NAME="YOUR_APP_NAME" bash install.sh
    

    APM_LIC_KEY - add the Atatus APM License key in this line of code.

    YOUR_APP_NAME - add the application name in this line of code.

    Note:

    Do not change the app name. If you do, it will create a new project. For more advanced options, view Customizing Agent

    Make sure that the license key and app name are set correctly in the Atatus configuration file: atatus.ini. You can find the path of atatus.ini file by running php -i | grep atatus.ini command in the shell.

  4. Stop and Start your PHP services.

    Stop and Start your servers such as nginx, php-fpm, apache, httpd, etc. Then you will see the performance data in a few minutes.

    Just access your server from your web app or mobile app or curl. You will visualize your application's metrics within minutes.

Redhat

  1. Download the latest Redhat agent from:

    copy
    icon/buttons/copy

    // Download Redhat tarball
    wget https://s3.amazonaws.com/atatus-artifacts/atatus-php/downloads/atatus-php-1.14.0-x64-redhat.tar.gz
    
  2. Unzip the agent files

    copy
    icon/buttons/copy
    tar -xzvf atatus-php-1.14.0-x64-redhat.tar.gz
    cd atatus-php-1.14.0-x64-redhat
    
  3. Install the php agent

    copy
    icon/buttons/copy
    sudo ATATUS_LICENSE_KEY="APM_LIC_KEY" ATATUS_APP_NAME="YOUR_APP_NAME" bash install.sh
    

    APM_LIC_KEY - add the Atatus APM License key in this line of code.

    YOUR_APP_NAME - add the application name in this line of code.

    Note:

    Do not change the app name. If you do, it will create a new project. For more advanced options, view Customizing Agent

    Make sure that the license key and app name are set correctly in the Atatus configuration file: atatus.ini. You can find the path of atatus.ini file by running php -i | grep atatus.ini command in the shell.

  4. Stop and Start your PHP services.

    Stop and Start your servers such as nginx, php-fpm, apache, httpd, etc. Then you will see the performance data in a few minutes.

    Just access your server from your web app or mobile app or curl. You will visualize your application's metrics within minutes.