Configure the Memcache in the Wamp under W7

Source: Internet
Author: User

PHP version is 5.4.16, My computer is W7 64-bit.

the difference between memcache and memcachedIt's easy to understand that the memcached is a memory cache, but how about Memcache in a new program that intends to fully apply memcached technology?   Actually very simple, memcache is an extension of PHP, for PHP management Memcached,php-memcache.dll.   If the installation of memcached does not install the extension, then PHP will not be able to control the memcached, but the command is not a problem to use the implementation of the memcache extension but did not install the memcached service, then this cannot be used You can use memcached in PHP to improve dynamic site performance only if you have both the memcached service and the memcache extension installed Second, installation memcached1. Memcached-win64 Download:A. Download the latest version: Http://blog.couchbase.com/memcached-windows-64-bit-pre-release-availableb. Direct download:Http://www.2cto.com/uploadfile/2012/0713/20120713110308123.zip 2. Unzip and put under a disk, for example: D:\memcached\memcached.exe 3. Under Terminal (also known as cmd Command Interface), enter the following command to install the Windows service: D:\memcached>memcached.exe-d installation 4. Then enter the following command to start:d:\memcached>memcached.exe-d Start Third, install the memcache PHP extension1. Php_memcache.dll Download: Download the corresponding version number from Http://pecl.php.net/package/memcache/3.0.8/windows (x86 is 32-bit, x64 is 64-bit) 2. Put Php_memcache.dll in the ext directory of PHP: D:\wamp\bin\php\php5.4.16\ext\php_memcache.dll 3, for example. Modify the php.ini to join the extension and restart the Apache server: for example: D:\wamp\bin\php\php5.4.16\php.inijoin; extension=php_memcache.dll restart the Apache server. Note:You can successfully install the process as you normally would. Results...... Results.....   I have been pretending for two hours, or failed!!!     Why is it? Because whether downloaded from the official website or downloaded from elsewhere, the corresponding 64-bit php5.4 version of Php_memecache.dll, always can not run!     It feels like it's going to be a riot. I have to consider upgrading PHP, Reload Wamp, the last time I found that I installed Wamp unexpectedly ... It's 32-bit!! Pop......        You're going to bleed to death.     How do you see how many bits of software you have installed?     A. The general default is 32-bit under the Program Files folder, which is 64-bit under the Program Files folder. x86. B. If it is not installed under these two folders, your computer is 64-bit. Want to see what version of it.   You can see through the "taskbar management--process" that there are no "*32" after the program is 32-bit or 64-bit. Attach each version of the MEMCACHE:HTTP://PAN.BAIDU.COM/S/1JGGKEDG then ... And then...... Finally succeeded ~ Reference: http://blog.csdn.net/wusuopubupt/article/details/9128431

Configure the Memcache in the Wamp under W7

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.