Setting up PHP monitoring is easy

This short and simple guide will get you familiar in integrating Atatus with PHP apps
and start tracking error and performance.

Download and Install

curl https://s3.amazonaws.com/atatus-artifacts/gpg/atatus.gpg | sudo apt-key add -

echo "deb https://s3.amazonaws.com/atatus-artifacts/atatus-php/debian stable main" | sudo tee -a /etc/apt/sources.list.d/atatus-php-agent.list

sudo apt-get update

sudo ATATUS_LICENSE_KEY="APM_LIC_KEY" ATATUS_APP_NAME="YOUR_APP_NAME" apt-get install atatus-php-agent -y

Verify license key and app name

Make sure that license key and app name is 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.

Send an event

Stop and Start your servers such as nginx, php-fpm, apache, httpd, etc. That's it! You've sent your first event.