What about memcache?

Source: Internet
Author: User
For more information about how to install memcache today. dll extension. some problems occur when connecting to memcache & nbsp; Notice: Memcache: connect () [memcache. connect]: Server127.0.0.1 (tcp000011) failedwith
The memcache. dll extension is installed today, and some problems occur when connecting to memcache.
Notice: Memcache: connect () [memcache. connect]: Server 127.0.0.1 (tcp 11211) failed with: connection attempt failed because the connection provider failed to respond correctly after a period of time or the connection host did not respond. (10060) in D: \ www \ DataCache. php on line 36

Warning: Memcache: connect () [memcache. connect]: Can't connect to 127.0.0.1: 11211. the connection attempt fails because the connection fails to respond correctly after a period of time or the connection host does not respond. (10060) in D: \ www \ DataCache. php on line 36

I did not understand the problem after I found it on the internet. I said on the Internet that I want to install the memcache server. I remember that it can be used without installing it before,
Download a server result today and install it.

------ Solution --------------------
You have to set up the server. you cannot set up anyone to serve you.

Memcached is a server, and memcache is a PHP client implementation.
------ Solution --------------------
Isn't memsql available now?
Yes.

------ Solution --------------------
---------- Install php_memcache.dll ---------------------

1. add extended extension = php_memcache.dll to php. ini.
2. put php_memcache.dll in the pecl-5.2.6-Win32 folder to the D: \ AppServ \ php5 \ ext directory.
3. restart the Apache server

----------Memcached.exe installation ---------------------

1. put memcached.exe in c: \ memcached \ memcached.exe,
2. run cmd to open
Run memcache.exe-h in 3rd region to view the help information. some common commands are as follows:

Install: c: \ memcached \ memcached.exe-d install
Start: c: \ memcached \ memcached.exe-d start
Stop: c: \ memcached \ memcached.exe-d stop
Restart: c: \ memcached \ memcached.exe-d restart
Help: c: \ memcached \ memcached.exe-h
4. if the instance is not successfully started, go to Control Panel> Management Tools> Services> memcached Server and start it manually.

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.