Wamp Environment: apache/2.4.9 (WIN32) php/5.5.12
First, install Memcached server-side software
1. Place the Memcached.exe file on any disk hyphenating (place F:\memecached here);
2. Open the DOS window and execute the following command:
F://Enter F Drive
CD memcached//Enter memcached file
memcached-d Install//installation memcached file
memcached-d Start//Turn on memcached (can view process in Task Manager)
memcached-d Stop//Stop memcached
Second, PHP extension memcache
1. Place the Php_memcache.dll file under Wamp\bin\php\php5.5.12\ext (note here: Because the WAMP environment is 32 bits, the corresponding extension file is x86, otherwise the extension is unsuccessful)
2. Add Extension=php_memcache.dll in the Wamp\bin\apache\apache2.4.9\bin\php.ini file
3. Restart the Wamp;
Third, test whether the installation is successful
Memcache is installed successfully in Phpinfo ()
Note: The extension file Php_memcache.dll is consistent with the PHP version in the environment and is consistent with the number of environment machines, otherwise invalid
Add Extension=php_memcache.dll php.ini file under Apache
The above describes the installation of WAMP environment memcached server-side software and PHP memcache extension, including aspects of the content, I hope that the PHP tutorial interested in a friend helpful.