--- title: Using Redis with a PHP Backend eleventyNavigation: key: Using Redis with a PHP Backend parent: Redis --- ## Configuration Using Redis in PHP requires [installing a PECL extension](/en/docs/web-hosting/languages/php/extensions#from-peclhttpspeclphpnet) in your account through [SSH](/en/docs/web-hosting/remote-access/ssh). ``` $ ad_install_pecl redis ``` Then don’t forget to [add the extension to your `php.ini`](/en/docs/web-hosting/languages/php/configuration/#parameters-phpini): ``` extension=/home/[account]/path/to/redis-[VERSION].so ``` > [!WARNING] > `[VERSION]` corresponds to the major version of PHP with which the extension was installed. By default, this will take the version from the **Environment** menu (used in SSH). You can install it with [another version of PHP](/en/docs/web-hosting/languages/php/troubleshooting#use-several-versions-in-ssh).