I
I
Inter Carpenter2016-09-25 00:23:54
linux
Inter Carpenter, 2016-09-25 00:23:54

Why doesn't Yii see the MemCached module in PHP7?

Hi all!
I decided to migrate the project to Yii 1.1.17 from PHP5 to PHP7
Bundle Debian8 Nginx + PHP7-fpm
Installed php7-fpm, registered unix socket in ngnix
Installed php7.0-memcached Memcached
itself has been on the server for a long time and works on php5
Yii config did not touch ( all cache and sessions are declared on the memcache)
When you open the application, it says that the MemCache module || MemCached not found
In mods-available and in /etc/php7.0/fpm/conf.d the module was pulled up during installation

php7.0 -i | grep -i "memcached support"
memcached support => enabled

Answer the question

In order to leave comments, you need to log in

2 answer(s)
G
Grigory Esin, 2016-09-25
@Byrger

At least google before asking questions. If they used the search even a little bit, even in Google, even on the toaster, they would know that the last release of the memcache extension was in 2012, which means it does not have a release for php7; and the memcached extension does not yet have a stable release for php7, ie. there is only a development git branch.

I
Inter Plotnik, 2016-09-25
@Byrger

Installed Redis, didn't bother =)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question