Skip to content

Instantly share code, notes, and snippets.

@HauptJ
Created June 21, 2018 18:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save HauptJ/25b32284615d0a046c1fdacd65d98922 to your computer and use it in GitHub Desktop.
Save HauptJ/25b32284615d0a046c1fdacd65d98922 to your computer and use it in GitHub Desktop.
PHP Redis redis.ini configuration
; 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/opt/remi/php71/php-fpm.d/*conf
session.save_handler = redis
session.save_path = "tcp://127.0.0.1:6379"
; Configuration
;redis.arrays.names = ''
;redis.arrays.hosts = ''
;redis.arrays.previous = ''
;redis.arrays.functions = ''
;redis.arrays.index = ''
;redis.arrays.autorehash = ''
;redis.clusters.seeds = ''
;redis.clusters.timeout = ''
;redis.clusters.read_timeout = ''
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment