The requirements for modifying the Memcache configuration under Windows Server are as follows:
1, using the network IP to provide Web application server calls, not allowed directly through the external network calls, such as the Memcache service on the 192.168.1.168 server
2, change the port, such as 11200
3, allocating memory, such as allocating 1024M (1G memory)
Here's how:
< Span style= "color: #333333; line-height:25px; Font-family:arial, Tahoma, Verdana, Sans-serif; font-size:14px ">1> Start > Run: regedit (carriage return)
2> found in the registry: hkey_local_machine\system\currentcontrolset\services\memcached Server
3> default ImagePath key value is:" C:\memcached\memcached.exe "-D Runservice, instead: "C:\memcached\memcached.exe"-D runservice-m 512-p 11200-l 192.168.1.168
4> Run dos restart memcache service: memcached-d restart
Note: If you change the above IP192.168.1.168 to 127.0.0.1, you can control only native access to the memcached service, and no other machine is accessible and more secure.
You can use PHP-written memadmin application to monitor the MEMCAHCE running state: http://www.junopen.com/memadmin/, if it is a native installation, run the default settings directly to monitor.
Configure Memcache maximum memory value under Windows Server