Home  >  Article  >  Backend Development  >  Install php_memcache module on windows platform, platform php_memcache_PHP tutorial

Install php_memcache module on windows platform, platform php_memcache_PHP tutorial

WBOY
WBOYOriginal
2016-07-13 09:58:05738browse

Windows platform installs php_memcache module, platform php_memcache

requires

    • Essential knowledge

      Familiar with basic programming environment setup.

    • Operating environment

      windows 7(64-bit);
      php-5.3;
      memcached-1.2.6

    • Download address

      Environment download

What is PHP Memcache module

The Memcache module provides convenient process-oriented and object-oriented interfaces to memcached. Memcached is a resident process cache product produced to reduce the load of data from the database by dynamic web applications.

Download

  • memcache official website
  • PHP Memcache download address

You need to pay attention to the version number here. It depends on personal circumstances. I downloaded php_memcache-3.0.8-5.3-ts-vc9-x86.zip

Install php_memcache module on windows platform, platform php_memcache_PHP tutorialphp $memcache = new Memcache; $memcache->connect('127.0.0.1',11211); $memcache->set('key','hello memcache!'); $out = $memcache->get('key'); echo $out; ?>

Test in the browser. It should be noted that the memcache service must be started. Regarding the installation of the memcache service on the Windows platform, you can refer to an article I wrote before.

  • Memcache for Windows

Install php_memcache module on windows platform, platform php_memcache_PHP tutorialNot bad" button or go to the lower right corner of the page and click the "Like" button. You can also click the "Share" floating button on the right side of the page , let more people read this article

. Author:Li-Cheng Weibo: http://weibo.com/licheng0426 Source: http://www.cnblogs.com/Li-Cheng/p/4392461.html Due to my limited level, if there are any inaccuracies in the expression and code of the article, I welcome criticism and correction. Leave your footprints and comments are welcome. You can also follow me and learn together! o_ap3ft4hhp05s2v2y13 (1)

(^_^) If you think this article is helpful to you, please give me a reward and drink coffee, okay (^_^)

www.bkjia.comtruehttp: //www.bkjia.com/PHPjc/979574.htmlTechArticleThe windows platform installs the php_memcache module. The platform php_memcache requires necessary knowledge and familiarity with the basic programming environment. Operating environment windows 7 (64-bit); php-5.3; memcached-1.2.6 Download address...
Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn