Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Should we use php5-memcache or php5-memcached when connect with memcached server?

Tags:

php

memcached

In php, there are 2 modules that can be used when programming with memcached.

Memcache and Memcached

In the document, it said that php5-memcached using libmemcached to connect memcached. And there are more function available in php5-memcached module.

Which one should I choose?

like image 768
Leon Avatar asked Feb 27 '11 08:02

Leon


1 Answers

Take a look at this discussion. It's an extensive one on whether memcache or memcached is better. One reply suggests that memcached is better as there are methods to access error codes. Hope it helps.

like image 114
Ifthikhan Avatar answered Nov 01 '22 11:11

Ifthikhan