Closed kironet closed 7 years ago
It is available now, just run sudo apt install php-memcache
, that will do it.
I updated the docs on: https://github.com/mevdschee/TqdMemcacheBundle
Thanks for reply, I'm using centos and still see this error.
pecl/memcached requires PHP (version >= 5.2.0, version <= 6.0.0, excluded versions: 6.0.0), installed version is 7.0.13
Hi!
Apparently php7 support is not available in the memcached pecl packages yet. However, this seems to work: https://github.com/php-memcached-dev/php-memcached/tree/php7
Here you can find how to install it: https://github.com/ChiVincent/php-7-centos/blob/master/memcached.sh
AFAIK this bundle no longer uses pecl/memcached
, it uses pecl/memcache
.
LswMemcacheBundle uses the 'memcache' PHP extension (memcached client) and not the libmemcache based 'memcached' PHP extension.
This is what the readme says about this.
Oh, then I should uninstall memcached and install memcache. Thanks
Not sure, but in your case I would use this howto:
http://boomshadow.net/tech/installs/how-to-install-php-memcache/
And use the source code from this site:
https://github.com/websupport-sk/pecl-memcache/tree/NON_BLOCKING_IO_php7
It is much easier is to use Ubuntu Xenial (16.04), which has PHP 7 and the corresponding pecl/memcache
version 3.0.9-dev
in the repositories (sudo apt install php-memcache
).
Hey,
what should I install to use this bundle with php7 if php7 doesn't support memcached?
Thanks