[FEATURE] Support pecl-memcached in MemcachedBackend 84/55384/5
authorAndreas Fernandez <a.fernandez@scripting-base.de>
Mon, 14 Sep 2015 14:44:35 +0000 (16:44 +0200)
committerChristian Kuhn <lolli@schwarzbu.ch>
Sun, 21 Jan 2018 12:25:54 +0000 (13:25 +0100)
commit1186d42f09bf2c721e6cac6132bd8419262e7134
treecf83d3760d027075629b8b64df5f78728d42c154
parenta0b8d94ef1b4918948b5712f88d0ada7bc7cf496
[FEATURE] Support pecl-memcached in MemcachedBackend

The MemcachedBackend now also supports the pecl-memcached
module. The caching backend detects which modules are installed
and uses "memcache" over "memcached" to avoid being a breaking
change. If both modules are installed, an integrator can choose the
PECL module by setting the new ``peclModule`` option.

This feature was originally introduced with TYPO3 v8.0. Due to
compatibility reasons with PHP 7 this feature gets backported as the
memcache module is not available anymore.

Resolves: #83569
Related: #69794
Releases: 7.6
Change-Id: Idd4e85cf8ec71d47217b63dfe55b1231107c7b82
Reviewed-on: https://review.typo3.org/55384
Reviewed-by: Stefan Neufeind <typo3.neufeind@speedpartner.de>
Tested-by: Stefan Neufeind <typo3.neufeind@speedpartner.de>
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
typo3/sysext/core/Classes/Cache/Backend/MemcachedBackend.php
typo3/sysext/core/Documentation/Changelog/7.6.x/Feature-69794-SupportPecl-memcachedInMemcachedBackend.rst [new file with mode: 0644]
typo3/sysext/core/Tests/Unit/Cache/Backend/MemcachedBackendTest.php