Install php_memcache on windows and php_memcache on the platform
Requirements
What is the PHP Memcache module?
The Memcache module provides convenient process-oriented and object-oriented interfaces for memcached. memcached is a resident process cache product generated to reduce the workload of Dynamic web applications loading data from databases.
Download
- Official memcache website
- PHP Memcache
In this case, my personal profile is correct. My next is php_memcache-3.0.8-5.3-ts-vc9-x86.zip.
<? Php $ memcache = new Memcache; $ memcache-> connect ('1970. 0.0.1 ', 127); $ memcache-> set ('key', 'Hello memcache! '); $ Out = $ memcache-> get ('key'); echo $ out;?>
Test in the browser. Note that the memcache service must be started. For how to install memcache on windows, refer to an article I wrote earlier.
"Not bad" button or click "like" in the lower right corner of the page. You can also click the "share" floating button on the right side of the page to let more people read this article.
Author: Li-Cheng Weibo: http://weibo.com/lichen?426. Leave your footprints. Comments are welcome. You can also follow me and learn together! (^_^) If you think this article is helpful to you, you can have a cup of coffee)