These are the steps to configure Atatus for PHP with Bitnami.

  1. Download the Atatus php agent tarball from Atatus dashboard.

  2. Install Atatus PHP agent

    copy
    icon/buttons/copy
    tar -xzvf atatus-php-x-x-x.tar.gz
    cd atatus-php-x-x-x
    sudo ATATUS_LICENSE_KEY="APM_LIC_KEY" ATATUS_APP_NAME="YOUR_APP_NAME" bash install.sh
    
  3. Create new Atatus configuration file: atatus.ini.

    copy
    icon/buttons/copy
    cd atatus-php-x-x-x
    sudo cp ./usr/lib/atatus-php/atatus.ini.template ./atatus.ini
    sudo vi ./atatus.ini
    
  4. Set your license key and app name inside atatus.ini file.

    copy
    icon/buttons/copy
    atatus.license_key = "APM_LIC_KEY"
    
    atatus.app_name = "PHP App"
    
  5. Append atatus.ini to php.ini

    copy
    icon/buttons/copy
    sudo cp /opt/bitnami/php/etc/php.ini /opt/bitnami/php/etc/backup_php.ini
    sudo cat atatus.ini >> /opt/bitnami/php/etc/php.ini
    
  6. Restart the whole server (restarting apache will not work).

    copy
    icon/buttons/copy
    sudo reboot
    
  7. Check that Atatus is running in the machine:

    copy
    icon/buttons/copy
    php -i | grep atatus
    ps ax | grep atatus