Home > Article > Backend Development > When installing memcache under win8 (64-bit), the error "failed to install service or service already installed" and installation
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
The above introduces the error "failed to install service or service already installed" when installing memcache under win8 (64-bit) and the installation, including the relevant content. I hope it will be helpful to friends who are interested in PHP tutorials.