wamp environment: Apache/2.4.9 (Win32) PHP/5.5.12
1. Install the Memcached server software
1. Place the memcached.exe file under any drive letter (place F:memecached here);
2. Open the DOS window and execute the following command:
memcached -d install //Install memcached files
memcached -d start . memcached (you can view the process in the task manager) memcached -d stop //Stop memcached
2. PHP extension memcache
1. Place the php_memcache.dll file under wampbinphpphp5.5.12ext ( Note here: because The wamp environment is 32-bit, so the corresponding extension file is Check whether the installation is successful
If there is memcache in phpinfo(), the installation is successful
Note: The extension file php_memcache.dll must be consistent with the version of php in the environment and the number of digits of the environment machine, otherwise it will be invalid
Add extension= php_memcache.dll is in
php.ini underApache
File
The above introduces the installation of Memcached server-side software and PHP's Memcache extension in the wamp environment, including the relevant content. I hope it will be helpful to friends who are interested in PHP tutorials.