Knowledge Base

How to determine if your account uses CageFS

This article describes how to determine if your hosting account is on a server that uses CageFS.

About CageFS

A2 Hosting's newer managed servers use CageFS, a virtual filesystem that isolates each user's data and processes. This helps improve server performance, stability, and security.

Some features and applications (particularly developer-related programs that run from the command line) require different configurations when CageFS is enabled. Therefore, it can be useful to know whether or not your account is on a server that uses CageFS.

Determining if your account uses CageFS

There are two ways to determine if an account uses CageFS. Use whichever of the following methods you prefer.

Method #1: Use the command line

To use the command line to determine whether or not your account uses CageFS, follow these steps:

  1. Log in to your account using SSH.
  2. At the command prompt, type the following command:
    check_cagefs
  3. Examine the output from the check_cagefs command:

    • If you see CageFS server, your account uses CageFS.
    • If you see NON CageFS server, your account does not use CageFS.
    If you receive a check_cagefs: command not found message when you try to run the check_cagefs command, your account does not use CageFS.
Method #2: Use cPanel

To use cPanel to determine whether or not your account uses CageFS, follow these steps:

  1. Log in to cPanel.
    If you do not know how to log in to your cPanel account, please see this article.
  2. In the Software and Services section of the cPanel home screen, check the PHP version icons:
    • If there is a Select PHP Version icon, your account uses CageFS:

      cPanel - Select PHP Version icon

    • Alternatively, if there is a PHP Version icon, your account does not use CageFS:

      cPanel - PHP Version icon

More Information

For more information about CageFS, please visit https://cloudlinux.com/index.php/cagefs.