Window under XAMPP installation memcached

Source: Internet
Author: User
Tags phpinfo

1. Download the Memcache window stable version and extract it to XAMPP, for example D:\xampp\memcached

2. Open cmd Command interface input D:\xampp\memcached\ memcached.exe-d Install no error indicates installation success

3. Start Memcache input D:\xampp\memcached\ memcached.exe-d start

4. Download Php_memcache.dll to download the corresponding version of the. dll file

First output phpinfo (); View our environment

API20131226,ts,vc11. TS: Indicates that our service is thread safe, NTS: Represents non-thread-safe. VC11, you just have to remember.

Http://pecl.php.net/package/memcache/3.0.8/windows According to the above we want to choose thread-safe 5.6Thread Safe (TS) X86

And then copy it to D:\xampp\php\ext.

5. Here in D:\xampp\apache\bin\php.ini it is also possible to view the D:\xampp\php\php.ini output phpinfo () load is that php.ini on that php.ini join a line ' extension= Php_memcache.dll '

6. Restart Xampp and then look at the phpinfo, if there is a memcache, then the installation is successful.

7. If you do not find memcache, check that the installed version is 32 and 64 bits are correct. Php_memcache.dll version is correct

Window under XAMPP installation memcached

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.