How to enable a PHP extension in ISPmanager

Extensions are enabled separately for each alternative PHP version.

  1. Open "PHP".
  2. Select the version, for example 8.4.
  3. Click "Extensions".
"Extensions" button
"Extensions" button
  1. Find the extension with the search, for example redis.
  2. Select it and click "Enable the selected extension". If the extension is not installed, click "Install extension" first.
Enabling the extension
Enabling the extension

The status in the list changes to enabled. The panel restarts PHP-FPM itself.

Extension enabled
Extension enabled

Check over SSH as root: /opt/php84/bin/php -m | grep redis.

redis and memcached also need the Redis/Memcached server itself. You can run it in Docker: "Docker" → "Create a container".

Questions and answers
Extensions are enabled per PHP version. Make sure you enabled it for the version the site uses.
No, you also need the Redis server itself. It is easy to run in Docker: "Docker" → "Create a container".
Over SSH: /opt/php84/bin/php -m | grep redis (use your version instead of php84).