An error occurred while installing memcached on Windows 7: run the cmd command to D: \ webEve \ memcached (the decompressed directory after download) run memcached.exe-d install and report the error "failed to install service or service already installed". Solution: install the agent on www.2cto.com. First, find the original file of cmd.exe and right-click it as an administrator, next, let's get it right (users in win7 are really troublesome ).
Install Memcache in Windows: 1. download the stable version of memcache for windows and decompress it to a disk. For example, on D: \ webEve \ memcached2. on the terminal (that is, the cmd command interface), enter 'd: \ webEve \ memcached \ memcached.exe-d install 'install 3. enter 'd: \ webEve \ memcached \ memcached.exe-D start' to start. NOTE: in the future, memcached will be used as a windows Service and will be automatically started every time it is started. In this way, the server has been installed. 4. download php_memcache.dll. Find the corresponding php version file by yourself. in php. ini adds a line 'extension = php_memcache.dll '6. restart Apache and check phpinfo. If memcache exists, the installation is successful! Basic settings of memcached:-p listening port-l connection IP address, the default value is local-d start to start memcached service-d restart to restart memcached service-d stop | shutdown to disable the running memcached service-d install memcached service www.2cto.com-d uninstall to uninstall memcached service- run as u (only valid when running as root) -MB maximum memory usage, in MB. By default, an error is returned when 64MB-M memory is used up, instead of deleting the maximum number of concurrent connections in item-c. The default value is 1024-f, and the default value is 1.25-n, key + value + flags are 48-H display help by default