Redis [Snippet] PHP Redis compiling on centos 6.2 64bit

I have some error when try to compile PHP Redis on Centos 6.2 64bit. There is a little difference between ubuntu & centos php configuration. So, here’s the step to solve it

  1. download this file (nicolasff-phpredis-2.2.1-63-gf3dff08.zip)
  2. unzip nicolasff-phpredis-2.2.1-63-gf3dff08.zip
  3. cd nicolasff-phpredis-f3dff08
  4. yum install php-devel –enablerepo=remi
  5. phpize
  6. ./configure
  7. make && make install
  8. vim /etc/php.d/redis.ini
  9. extension=redis.so #insert to redis.ini file
Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s