Using Memcached with a PHP Backend

Discover our Public Cloud offer

Shared Hosting for Everyone, imagined by developers, for developers.

Discovering the Public Cloud

Configuration

Using Memcached in PHP requires installing a PECL extension in your account through SSH.

$ ad_install_pecl memcached

Then don’t forget to add the extension to your php.ini:

extension=/home/[account]/path/to/memcached-[VERSION].so

[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.