/etc/php.d/redis.ini - CentOS Linux 6

This is the default example configuration of redis.ini provided by Redis. This config file was generated by Redis running on CentOS 6.

It is located under: /etc/php.d/redis.ini

    ; Enable redis extension module
extension = redis.so

; phpredis can be used to store PHP sessions. 
; To do this, uncomment and configure below

; RPM note : save_handler and save_path are defined
; for mod_php, in /etc/httpd/conf.d/php.conf
; for php-fpm, in /etc/php-fpm.d/*conf

;session.save_handler = redis
;session.save_path = "tcp://host1:6379?weight=1, tcp://host2:6379?weight=2&timeout=2.5, tcp://host3:6379?weight=2"

    
  

Config Details

Location
/etc/php.d/redis.ini
Operating system
CentOS Linux 6
Length
12 lines
MD5 checksum
a86bad19b3fc5e750b5851fee0f0fe1a

Usage

Download the raw file with wget or curl

Wget

wget -O redis.ini.example http://exampleconfig.com/static/raw/redis/centos6/etc/php.d/redis.ini

cURL

curl http://exampleconfig.com/static/raw/redis/centos6/etc/php.d/redis.ini > redis.ini.example