Home >Backend Development >PHP Tutorial >memcached—How to install, start, and uninstall memcached in Windows operating systems

memcached—How to install, start, and uninstall memcached in Windows operating systems

WBOY
WBOYOriginal
2016-07-29 09:02:301053browse

It’s time to get off work. Today I’ll summarize how to install, start and uninstall memcached in the Windows operating system:

1. Download related software:

Download address: http://download.csdn.net/download/wangshuxuncom/8249501;

2. Unzip the obtained compressed file and you will get a file named " memcached-1.2.6-win32-bin" folder, copy the folder to a location you think is appropriate (such as copying to the root directory of the C drive);

3. Enter the command line mode of Windows through the cmd command and enter Run the following command "cd /d C:memcached-1.2.6-win32-bin" and hit the Enter key to get the following picture:

memcached—How to install, start, and uninstall memcached in Windows operating systems

4. The installation, startup and uninstallation of memcached are introduced in sequence:

                                                                                                                                                               Enter “memcached.exe -d install” in step 3, and then click the Enter key, you will get the following picture: "You will see that memcached has been included in the list:

memcached—How to install, start, and uninstall memcached in Windows operating systems
②. Start:


a. In the picture above, we see that the newly installed memcached is not in the starting state. How to start it? Execute "memcached.exe -d start" in the command line window and get the following picture:

memcached—How to install, start, and uninstall memcached in Windows operating systems

b. After executing the above command, refresh the "Service" list and you can see that memcached has been started:

③ Uninstallation: memcached—How to install, start, and uninstall memcached in Windows operating systems

a. Before uninstalling memcached, you must first stop its startup, otherwise the following problems will occur:

memcached—How to install, start, and uninstall memcached in Windows operating systems

b. By executing "memcached.exe -d stop in the command line window " will put memcached in a disabled state, as shown below:

c. Execute "memcached.exe -d uninstall" in the command line window to uninstall memcached. memcached—How to install, start, and uninstall memcached in Windows operating systems


The above introduces memcached-how to install, start and uninstall memcached in Windows operating system, including the relevant content. I hope it will be helpful to friends who are interested in PHP tutorials.

memcached—How to install, start, and uninstall memcached in Windows operating systems

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