Install php_memcache on windows and php_memcache on the platform

Source: Internet
Author: User

Install php_memcache on windows and php_memcache on the platform
Requirements

    • Required knowledge

      Familiar with basic programming environment setup.

    • Running Environment

      Windows 7 (64-bit );
      Php-5.3;
      Memcached-1.2.6

    • Environment download

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.

  • Memcache for Windows

"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)

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.