Comments on Installing The PHP-MemCache Module On CentOS 5.0

Installing The PHP-MemCache Module On CentOS 5.0 MemCached is a high-performance, distributed memory object caching system, generic in nature, but intended for use in speeding up dynamic web applications by alleviating database load. In this howto I explain how you can very easily install it and make it avaible in PHP.

5 Comment(s)

Add comment

Please register in our forum first to comment.

Comments

By: Anonymous

Great ! Thanks a lot ! Works fine for CentOS 4.7

yum install php-pecl-memcache   -- doesn´t work for CentOS 4.7


 

 

By: Anonymous

All you need to do is

yum install php-pecl-memcache

By: raven

that yum package won't work with php 5 right?

By: Vitek

There are 2 clients in php memcached and memcache, on Centos both can be definately installed by pecl:

pecl install memcached

pecl install memcache

Don't forget on dependencies:

yum install libmemcached-devel

yum install libmemcache-devel

Packages are's in remi or rpmforge repository


Vitek

By: Santi Saez

Hey guys,

Actually "rpmforge" installs and outdated version of memcached (1.4.7, released ~2 years ago), I suggest using at least memcached 1.4.10, starting this release there is a big performance and scalability improvements (see developers release notes).

Using PowerStack repository you can easily run latest memcached stable version in your CentOS boxes (4, 5 and 6 releases supported, i686 + x86_64), last LAMP stack stable versions and other key packages like: nginx, HAproxy, node.js, redis, Varnish, etc.

All code + .spec files are available on GitHub, check out the wiki page for installation instructions:

http://powerstack.org

Regards,