Download the PHP package fortrabbit/yii-memcached without Composer
On this page you can find all versions of the php package fortrabbit/yii-memcached. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
Informations about the package yii-memcached
Craft CMS memcached enabler
This yii-extension is a memcached drop in replacement for sessions, cache and mutex. The file Session
handler and the file Cache
driver are getting replaced to work with Memcache without the need for further configuration for Pro Apps hosted on fortrabbit.
Requirements
- Craft CMS (Version 3, 4, 5)
- A Professional App on fortrabbit (see below for other hosting providers)
Install
- Install the extension with Composer
composer require fortrabbit/yii-memcached
- Deploy the
composer.json
andcomposer.lock
file with Git - That's it
Non-fortrabbit environments
Provide the following ENV vars, if your application is not running on fortrabbit:
MEMCACHE_COUNT
(int, number of Memcached servers)MEMCACHE_HOST1
(host name of first Memcached server)MEMCACHE_PORT1
(port of first Memcached server)MEMCACHE_HOST(n)
(host name of nth Memcached server)MEMCACHE_PORT(n)
(port of nth Memcached server)
Good to know
- Read the fortrabbit Memcache help why this is mandatory in multi node environments
- This is not a Craft CMS plugin but an extension for the underlying Yii framework
- This is not required for Universal Apps hosted on fortrabbit, since there is no Memcache and the file system is persistent
All versions of yii-memcached with dependencies
PHP Build Version
Package Version
Requires
craftcms/cms Version
^3.7.30|^4.0|^5.0
The package fortrabbit/yii-memcached contains the following files
Loading the files please wait ....