Memcached installed on windows7 problems and solutions

  
Memcached installed on Windows7:
Cd into the D:webEvememcached (decompressed directory after downloading) via the cmd command line
Run memcached.exe -d install
Report error  failed to install service or service already Installed & rdquo;
Solution:
administrator installation, first find the original file cmd.exe
right click to run as an administrator, then OK (win7 users are really troublesome).
Memcache installation under Windows:
1. Download the stable version of memcache, unzip it under a disk, for example, in D:webEvememcached
2. Enter it in the terminal (also known as cmd command interface). D:webEvememcachedmemcached.exe -d install" Install
3. Enter: ‘D:webEvememcachedmemcached.exe -d start" Start.NOTE:
Memcached will be started as a service for Windows every time it is booted. This way the server has been installed.
4.Download php_memcache.dll, please find the corresponding php version of the file
5. Add a line in php.ini "extension=php_memcache.dll"
6 Restart Apache, then check phpinfo, if there is memcache, then the installation is successful!
memcached basic settings:
-p listening port
-l connected IP address, the default is this machine
-d start Start memcached service
-d restart Restart memcached service
-d stop
Copyright © Windows knowledge All Rights Reserved