XAMPP + Windows configuration memcache process

Source: Internet
Author: User
Tags phpinfo

1, run XAMPP service, open phpinfo View information, such as:

From top to bottom, in turn,

PHP Version:5.6;

Architecture:x86;

TS: Thread safety;

Vc11

2, remember the above several horizontal line content to download Php_memcache

Address:

http://PAN.BAIDU.COM/S/1HQ4QICW

Look for the corresponding Php_memcache version download.

3, download the successful decompression, and then copy the php_memcache.dll files within the xampp/php/ext .

4, modify Xampp/php/php.ini content, open php.ini, ctrl+f find "extension=" field, such as

Add Extension=php_memcache.dll under the last field in extension

5. Download and install memcached

Address:

http://PAN.BAIDU.COM/S/1BN0W4RP

6, decompression to d:memcached, Administrator to open cmd, into the memcached folder,

Run memcached.exe-d Install or command can also, no other content output is installed successfully

Run memcached.exe-d start to start the service, at which point the task Manager will have memcached service status.

7. Reopen Phpinfo at this time to see if there is memcache content

To this, the installation succeeds. The following environmental tests

8, run the following program, output this is a test, the build is successful.

<? PHP $mem New Memcache; $mem->connect ("127.0.0.1", 11211); $mem->set (' key ', ' This is a test! ', 0, $); $val $mem->get (' key '); Echo $val ;? >

Reference Documentation:

http://www.ccvita.com/258.html

XAMPP + Windows configuration memcache process

Related Article

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.