<p>What is the simplest way to install memcached on CentOS for someone new to the world of Linux?  What is the best way to enable it for Apache and PHP</p>

[{'answer_id': 23778, 'author': 'Mike Stone', 'author_id': 122, 'author_profile': 'https://Stackoverflow.com/users/122', 'pm_score': 1, 'selected': False, 'text': '<p>Unless Apache and PHP have some option to utilize memcached for internal workings (of which I am unaware of), you typically don\'t "enable" it for such apps.  Instead, you would get a <a href="http://www.danga.com/memcached/apis.bml" rel="nofollow noreferrer">client library</a> to use memcached from within your application, then start up memcached on whatever servers you want to provide memory with, then just use the client library API to store and retrieve cached data across multiple servers.</p>\n'}, {'answer_id': 545049, 'author': 'gahooa', 'author_id': 64004, 'author_profile': 'https://Stackoverflow.com/users/64004', 'pm_score': 0, 'selected': False, 'text': '<p>The easiest way is to find a reilable source of the RPM\'s needed to install memcached and memcached for PHP.  There is a blog post which addresses this concern:</p>\n\n<p><a href="http://blog.gahooa.com/2009/02/08/update-on-fedora-vs-redhat-enterprise-linux/" rel="nofollow noreferrer">http://blog.gahooa.com/2009/02/08/update-on-fedora-vs-redhat-enterprise-linux/</a></p>\n\n<p>We have been using EPEL (Extra Packages for Enterprise Linux) for exactly that on RedHat Enterprise 5.3.  I believe it is a stated goal of EPEL to support Centos.</p>\n\n<p><a href="http://fedoraproject.org/wiki/EPEL" rel="nofollow noreferrer">http://fedoraproject.org/wiki/EPEL</a></p>\n\n<p>Essentially, it is a YUM repository which contains lots of extra packages from Fedora that were compiled for RHEL.  <strong>Super easy to use.</strong></p>\n'}]
['https://Stackoverflow.com/questions/23726', 'https://Stackoverflow.com', 'https://Stackoverflow.com/users/2568/']