Installation under windows 64bit environment
Download the memcache installation package: http://pan.baidu.com/s/1pLcjTzl
Extract it to any location on the d drive, cmd (run as administrator, otherwise the installation will fail) Execute the command
No error means we have installed successfully
Download php_memcache.dll: https://pecl.php.net/package/memcache/3.0.8/windows
Mine is 5.6 version so download the 64-bit TS version
Put the dll extension into the php extension folder
Add extension=php_memcache.dll in php.ini
Then restart wampserver
Note: apache folder The php.ini in is used for browser access to the php folder. The php.ini in the php folder is suitable for running php scripts from the command line
php test code (mine is a command line test)
The above introduces memcache installation, including memcache content. I hope it will be helpful to friends who are interested in PHP tutorials.