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.
Lets say, the PHP is in the location
/opt/plesk/php/7.3/bin
, then you have to passATATUS_PHP_PATH=/opt/plesk/php/7.3/bin
as followscopysudo ATATUS_PHP_PATH=/opt/plesk/php/7.3/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 atatus
Check if collector is running
copyps aux | grep collector
Check if
atatus.so
is 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.txt
Share the environment details
copyphp -i
copyphp --version
copycat /etc/*-release
PHP logs
Clear the log files
copy# > /var/log/atatus/agent.log # > /var/log/atatus/collector.log
Change 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 restart
copy# Restart Nginx for php service /etc/init.d/nginx restart # OR service nginx restart
copy# 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 restart
Access two end points from your server
Zip the atatus log directory
copyzip atatus.zip /var/log/atatus
Send 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"