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.