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.

PHP

Download and Install

// Download Linux tarball
wget https://s3.amazonaws.com/atatus-artifacts/atatus-php/downloads/atatus-php-0.5.0-x64-linux.tar.gz
// Download OSX tarball
wget https://s3.amazonaws.com/atatus-artifacts/atatus-php/downloads/atatus-php-0.5.0-x64-osx.tar.gz

// Unzip and install the agent files
tar -xzvf  atatus-php-X.X.X-ARCH-OS.tar.gz
cd atatus-php-X.X.X-ARCH-OS
sudo bash ./install.sh

Set project api key

Add your project api key to 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.