Home > Article > Backend Development > When installing memcache under win8 (64-bit), the error 'failed to install service or service already installed' and installation, win8memcache_PHP tutorial
Solution:
1. Find the cmd.exe file (c:windowssystem32cmd.exe)
2. Right-click cmd.exe to run as administrator
3. Put php_memcache.dll into the ext directory of php:
4. Add a line to php.ini: extension=php_memcache.dll
5.cmd enter the directory of memcached.exe, then execute the installation memcached.exe -d install and then start memcached.exe -d start