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

How useful was this post?

Click on a star to rate it!

Average rating 0 / 5. Vote count: 0

No votes so far! Be the first to rate this post.