Removing the PHP cluster client - Amazon ElastiCache
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

Removing the PHP cluster client

Removing an earlier version of PHP 7 or higher

To remove an earlier version of PHP 7 or higher
  1. Remove the amazon-elasticache-cluster-client.so file from the appropriate PHP lib directory as previously indicated in the installation instructions. See the section for your installation at For users who already have php-memcached extension installed.

  2. Remove the line extension=amazon-elasticache-cluster-client.so from the php.ini file.

  3. Start or restart your Apache server.

    sudo /etc/init.d/httpd start

Removing an earlier version of PHP 5

To remove an earlier version of PHP 5
  1. Remove the php-memcached extension:

    sudo pecl uninstall __uri/AmazonElastiCacheClusterClient
  2. Remove the memcached.ini file added in the appropriate directory as indicated in the previous installation steps.