: This article describes how to install memcached in the wamp environment. if you are interested in the PHP Tutorial, refer to it. 1. to download the memcache installation package, select the Windows environment installation package.
2. decompress the package and place it on the D drive (take D:/memcached as an example)
3. click Start = run = and enter cmd to enter the dos interface.
4. enter d: Enter the d drive, and enter the cd memcached command to enter the memcached folder.
5. enter memcache.exe-d install Command installation, and input memcache.exe-d start to start the memcached process. Stop command: memcached.exe-d stop, uninstall command: memcached.exe-d unistall
6. go to the task manager and check the process. If yes, the installation is successful:
7. download the php_memcache.dll extension file and put it in the bin \ php \ php5.5.12 \ ext directory under the wamp installation directory.
8. open php. ini and add extension = php_memcache.dll. Note that there is no semicolon before. save and restart the service.
9. create a locally created Project memcached and add the index. php execution file. enter the following code:
Connect ("127.0.0.1", 11211); // value $ memcache-> add ('name', 'feige ', false, 60 ); // get the value $ val = $ memcache-> get ('name'); echo $ val;?>If the call succeeds, the feige is output.
Copyright Disclaimer: This article is an original article by the blogger and cannot be reproduced without the permission of the blogger.
The above describes how to install memcached in the wamp environment, including some content. I hope my friends who are interested in the PHP Tutorial can help me.