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"
Download the raw file with wget or curl
wget -O redis.ini.example http://exampleconfig.com/static/raw/redis/centos6/etc/php.d/redis.ini
curl http://exampleconfig.com/static/raw/redis/centos6/etc/php.d/redis.ini > redis.ini.example
Other config files you might find useful