Category: PHP
How to Install Memcached for PHP
If you get the errors:
 opcode memcached greyed out in W3 SuperCache Plugin or checking for the location of zlib… configure error memcache support requires zlib
- yum install memcache
 - yum install php-devel
 - yum install openssl-devel
 - yum install php-pear
 - pecl install memcached
 - vi /etc/php.ini, add “extension=memcache.so” to the file
 - chkconfig memcached on
 - service memcached start
 - service httpd restart