PHP memcache confusion on install
So looking into using memcache in my web application I am reading up about memcache
开发者_开发问答 and memcached
. Just looking to clarify some things. First when they say install memcached that means install memcache right? Just the d is for the daemon correct? There isnt something different to install for memcached vs memcache correct?
Then the second is the php library, memcache vs memcached. Which I understand Im just a bit confused with the installation part when someone says install memcache then I read other posts that says install memcached. This is the url I was planning to use to install memcache, of course with the latest versions:
http://mrphp.com.au/code/install-memcache-cpanel-running-centos
You need to:
- install memcached library into your OS
- install the php-client to work with memcache. It could be Memcache or Memcached.
- if you'll choose Memcached, you will need to install necessary libevent version
Memcache client is more stable, but Memcached has some interesting features.
Look at differences in functionality (just few functions) and if you really need these new features - take Memcached, otherwise - Memcache.
精彩评论