Install the agent

  1. Install Atatus PHP agent:

    a.) Download the latest Mac agent from:

    copy
    icon/buttons/copy
    // Download Mac tarball
    wget https://s3.amazonaws.com/atatus-artifacts/atatus-php/downloads/atatus-php-1.16.0-x64-osx.tar.gz
    

    b.) Unzip the agent files

    copy
    icon/buttons/copy
    tar -xzvf atatus-php-1.16.0-x64-osx.tar.gz
    cd atatus-php-1.16.0-x64-osx
    
  2. 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.

  3. 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.