Differences
This shows you the differences between two versions of the page.
memcache [2011/07/18 09:23] |
memcache [2011/07/18 09:23] (current) |
||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== memcache ====== | ||
+ | ==== CentOS Install ==== | ||
+ | |||
+ | First, install development libraries that are dependencies: | ||
+ | |||
+ | <code> | ||
+ | yum install libevent-devel | ||
+ | </code> | ||
+ | |||
+ | Download memcache tarball from website, and install as normal. | ||
+ | |||
+ | Install PECL module | ||
+ | |||
+ | <code>pecl install memcache</code> | ||
+ | |||
+ | Add this to php.ini, and restart Apache | ||
+ | |||
+ | <code> | ||
+ | extension=memcache.so | ||
+ | </code> |