Check Atatus PHP agent is installed correctly in your PHP version
If your system has multiple versions of PHP, Atatus will be installed only in top level PHP version. If your application server is using different PHP version, then you have to install Atatus PHP agent in that version too. It can done by specifying ATATUS_PHP_PATH during installation.
Let's say PHP is located at
/opt/plesk/php/7.3/bin. In that case, you need to passATATUS_PHP_PATH=/opt/plesk/php/7.3/binas follows:copysudo ATATUS_PHP_PATH=/opt/plesk/php/7.3/bin ATATUS_LICENSE_KEY="APM_LIC_KEY" ATATUS_APP_NAME="YOUR_APP_NAME" bash install.shLet's say PHP is located at
/opt/cpanel/ea-php81/root/usr/bin. In that case, you need to passATATUS_PHP_PATH=/opt/cpanel/ea-php81/root/usr/binas follows:copysudo ATATUS_PHP_PATH=/opt/cpanel/ea-php81/root/usr/bin ATATUS_LICENSE_KEY="APM_LIC_KEY" ATATUS_APP_NAME="YOUR_APP_NAME" bash install.sh
Check your settings
Check if PHP Atatus configurations is configured with correct apm license key
copyphp -i | grep atatusCheck if collector is running
copyps aux | grep collectorCheck if
atatus.sois existing in the extension directorycopyphp -i | grep extension_dir ll /usr/lib/php/20160303
Send following details to our Customer Success
Our team is very happy to help you to setup a PHP agent. Please drop us an email to success@atatus.com with following details
PHP information
Share installation log file
copycat atatus_install_log.txtShare the environment details
copyphp -icopyphp --versioncopycat /etc/*-release
PHP logs
Clear the log files
copy# > /var/log/atatus/agent.log # > /var/log/atatus/collector.logChange in atatus.ini
copyatatus.agent.log_level = "verbose_all" atatus.collector.log_level = "verbose_all"Restart the webserver (fpm/nginx/apache)
copy# Restart Apache for php service /etc/init.d/apache2 restart # OR apache2ctl restartcopy# Restart Nginx for php service /etc/init.d/nginx restart # OR service nginx restartcopy# Restart PHP-FPM Fastcgi for PHP service /etc/init.d/php-fpm restart # OR php 5 fpm: /etc/init.d/php5-fpm restart # OR php 7 fpm: /etc/init.d/php7.0-fpm restartAccess two end points from your server
Zip the atatus log directory
copyzip atatus.zip /var/log/atatusSend the zipped file to success@atatus.com
To reset the log_levels, make the following change in atatus.ini and restart the service.
copyatatus.agent.log_level = "warning" atatus.collector.log_level = "warning"
+1-415-800-4104