The use of PHP, memcached note: non Memcache

Now the network is Memcache, but now need to find memcached.
Environmental Science: windows
Relevant information or usage, which can provide memcached.(memcached.dll ? memcached.so)
No data on the network.

Started by Lucinda at October 28, 2016 - 11:18 PM


http://hi.baidu.com/andylu1988/item/ebb4087b15276d34714423b6

Migrating from Apache to nginx, the PHP Memcache also migrated to memcached, but memcached has a lot of pit, there are a lot of bug source code.
We waste slag have been migrating from Memcache to memcached during the first half of this year, but n strange things, a lot of the solution is directly to the memcached source code, and don't use the latest version.

The proposed migration experience, or find find you dizzy.

Posted by Gordon at November 12, 2016 - 11:47 PM

Specific you in Google search, baidu is not reliable. You can also go to the official view. I give you the link address is not very detailed.

Posted by Gordon at November 19, 2016 - 12:11 AM

Go to memcached and download, are written with C source code the same thing. The network is the basic environment of Linux. But the title is written is memcached, the content is a look at the memcache. cheat.

Posted by Lucinda at November 20, 2016 - 12:18 AM

http://hi.baidu.com/andylu1988/item/ebb4087b15276d34714423b6
Here I also used, can be connected, seemingly just inside the memcached_client.php to complete the connection, set, get. It should not be so.

Posted by Lucinda at November 28, 2016 - 1:04 AM

Memcache is divided into server and client, php_memcache.dll is installed in the PHP terminal and server connection middleware, it inherits the interface is connected with the server to the PHP language calling; while the server is an application running on the server, the official version is only based on source code version *nix, win version of the need Baidu search to find only. At the time of test, need to start the server then PHP access

Posted by Sid at December 03, 2016 - 1:29 AM

I have now is memcached. not Memcache

Posted by Lucinda at December 17, 2016 - 1:38 AM

Is there really any difference, even the PHP memcached update seems to stop for a long time.

Posted by Sid at December 30, 2016 - 2:32 AM

There is difference, and difference is very big.
http://cn2.php.net/manual/zh/book.memcached.php
http://cn2.php.net/manual/zh/book.memcache.php

Posted by Lucinda at January 01, 2017 - 4:53 AM

Do you think you will use a lot of things now, now Memcache based cache, basically is to read and save the two operation, the use of other methods are not really many. And now, basically in the expansion of the use of Memcache, memcached is relatively small; and this extension relies on libmemcache (D has not forgotten) to compile. Relatively speaking, the installation cost is still relatively high

Posted by Sid at January 06, 2017 - 2:42 AM

Understand what you're saying. Nothing more than set/get (), but you have to use memcached. Comparison of tangled. Now use is Memcache.

Posted by Lucinda at January 07, 2017 - 5:52 AM

The memcached compiler implementation should be better in Linux, win is more trouble. Previous to compile over, but C is not good, not ~ ~ however, Memcache should be sufficient to use ~ ~ can account for some redis, the comparison of the fire~

Posted by Sid at January 10, 2017 - 3:09 AM

The use of lamp or LZ in the Linux, then compile the memcached, viewing usage.
I think web this layer should change little, if possible, to compile code execution in win below., , ,

Posted by Joyce at January 15, 2017 - 3:57 AM