How to install Memcache software in Windows

Source: Internet
Author: User

Many phper tutorials on Liehuo. Net do not know how to build a Memcache development and debugging environment in Windows. Recently, I personally have been studying Memcache and recorded the process of self-Installation and setup.

In fact, when I started to study Memcache, I didn't know that there was a memcached for Win32 bird thing, which caused me to be able to handle it in a one-day way in the case of Cen-tos, today, I suddenly found that there is no problem in developing and debugging Memcache in Windows, so I wrote a Memcache document to share with you.

Install Memcache in Windows:

1. Download the stable version of memcache for windows and decompress it to a disk, for example, in c: \ memcached

2. Enter 'C: \ memcached \ memcached.exe-d install' on the terminal (that is, the cmd command interface) to install

3. Enter 'C: \ memcached \ memcached.exe-d start' to start. NOTE: in the future, memcached will be used as a windows Service and will be automatically started every time it is started. In this way, the server has been installed.

4. Download php_memcache.dll. Find the corresponding php version file by yourself.

5. Add a line 'extension = php_memcache.dll 'to C: \ winnt \ php. ini'

6. Restart Apache and check phpinfo. If memcache exists, the installation is successful!

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.