Home  >  Article  >  Backend Development  >  When installing memcache under win8 (64-bit), the error "failed to install service or service already installed" and installation

When installing memcache under win8 (64-bit), the error "failed to install service or service already installed" and installation

WBOY
WBOYOriginal
2016-08-08 09:33:091160browse

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.

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Previous article:Learn design patternsNext article:Learn design patterns