FAQTroubleshootingWhy don't I see the transaction name in PHP CodeIgniter web framework?

Atatus does not automatically detect the CodeIgniter framework in PHP APM. Thats why you don't see the transaction name in CodeIgniter web framework. You can resolve this by setting framework name in atatus configuration. This configuration can be set in different places.

1. atatus.ini file

If you run only one CodeIgniter application in your host, then you can directly set the framework name in atatus.ini as follows

atatus.framework = "CodeIgniter"

You can find the path of atatus.ini file by running php -i | grep atatus.ini.

2. Apache

In Apache, you can set the framework name in .htaccess file.

.htaccess file

If you are running multiple application in Apache server, then you can set the framework name to specific app in the .htaccess file as follows.

php_value atatus.framework "CodeIgniter"
3. Nginx

There are two ways you can set the framework name in Nginx. You can do them through:

  1. Nginx config file
  2. .user.ini file
Nginx config file

If you are running multiple application and have Nginx configuration for each apps, then you can set the framework name to specific app in your Nginx configuration file as follows.

location /app {
  ...
  fastcgi_param PHP_VALUE "atatus.framework=CodeIgniter";
  ...
}

location /api {
  ...
  fastcgi_param PHP_VALUE "atatus.framework=CodeIgniter";
  ...
}
.user.ini file

You can also use .user.ini to set the framework as follows

atatus.framework = "CodeIgniter"