Starting-The m200MB-dstart command starts.
Step 1 download and install the memcached.exe file (1) decompress the downloaded file to the specified file (2) Open the CMD console, enter cd \, and return to the root directory (3) enter the specified file path, then start with memcached.exe-d install (4)with memcached.exe-p port or memcached.exe-m200MB-dstart command.
Step 1 download and install the memcached.exe File
(1) decompress the downloaded file to the specified file
(2) Open the CMD console and enter cd \ to return to the root directory.
(3) enter the specified file, and then install it with memcached.exe-d install.
(4)use memcached.exe-p port orMemcached.exe-m 200 MB-d startCommand to start.
(5) Use netstat -anbcommand to configure the 11th port number to be occupied by memcached.exe. If the port number is occupied, the installation is successful.
Step 2 configure php_memcahce.dll to enable php memcache extension.
(1) download php_memcahce.dll corresponding to your php version. Note that the version must correspond to your php version.
(2) Place the downloaded php_memcahce.dll In the ext file under the PHP file.
(3) add extension = php_memcache.dll to the specified extension of php. ini.
(4) Restart Apache.
Note: If you want to use telnet to perform cache operations on the CMD console, first, if you find that the solution is not supported:
(1) first, check whether the systems32 in windows on drive C has telnet. If not, copy one on another computer.
(2) Right-click my computer, click manage, and enable telnet for the service.
(3) use telnet 127.0.0.1 11211 on the CMD console to link to the memcached service.
(4) UseTelnetAdd, delete, modify, and query,
Add key name 0 time (in seconds) content size (for example: 5) content (hello)
DeleteDelet key name
Change setKey name 0 time (in seconds) content size (for example: 5) content (hello) Note(If it exists, it is created if it does not exist)
QueryGetKey name