Redis install Linux

Hi,

 

The following steps will help you install redis in your Redhat/centos servers.

#yum install redis
#vi /etc/redis.conf

and edit the bind address from

127.0.0.1

to 
<server IP>

Then open your running php.ini file and add the following entries.

extension=redis.so 

session.save_handler = redis 
session.save_path = "tcp://<server IP>:6379/"

 

Thank you for viewing helpinlinux.com

Leave a Reply

Protected by WP Anti Spam