Bachir Soussi Chiadmi ad25acf851 redis bug 5 年之前
..
lib ad25acf851 redis bug 5 年之前
.gitignore 18f4aba146 added redis contrib module 6 年之前
LICENSE.txt 18f4aba146 added redis contrib module 6 年之前
README.PhpRedis.txt 18f4aba146 added redis contrib module 6 年之前
README.Predis.txt 18f4aba146 added redis contrib module 6 年之前
README.testing.txt 18f4aba146 added redis contrib module 6 年之前
README.txt 18f4aba146 added redis contrib module 6 年之前
redis-not-compatible-with-redis5-3074189-2.patch ad25acf851 redis bug 5 年之前
redis.admin.inc 18f4aba146 added redis contrib module 6 年之前
redis.autoload.inc 18f4aba146 added redis contrib module 6 年之前
redis.info 18f4aba146 added redis contrib module 6 年之前
redis.install 18f4aba146 added redis contrib module 6 年之前
redis.lock.inc 18f4aba146 added redis contrib module 6 年之前
redis.module 18f4aba146 added redis contrib module 6 年之前
redis.path.inc 18f4aba146 added redis contrib module 6 年之前

README.PhpRedis.txt

PhpRedis cache backend
======================

This client, for now, is only able to use the PhpRedis extension.

Get PhpRedis
------------

You can download this library at:

https://github.com/phpredis/phpredis

Most common Linux distribution should now have packages for this PHP extension
however if that's not the case for the one you use, use the above link to find
the release source download links and follow the provided instructions in order
to compile it for your system.

Default behavior is to connect via tcp://localhost:6379 but you might want to
connect differently.

Connect via UNIX socket
-----------------------

Just add this line to your settings.php file:

$conf['redis_cache_socket'] = '/tmp/redis.sock';

Don't forget to change the path depending on your operating system and Redis
server configuration.

Connect to a remote host and database
-------------------------------------

See README.txt file.

For this particular implementation, host settings are overridden by the
UNIX socket parameter.