Windows 64bit environment installation and download memcache installation package: http://pan.baidu.com/s/1pLcjTzl Unzip to any location on the d drive, cmd (Run as administrator, otherwise the installation will fail) If no error is reported when executing the command, it means that we have successfully installed and downloaded php_memcache.dll: https://pecl.php"/> Windows 64bit environment installation and download memcache installation package: http://pan.baidu.com/s/1pLcjTzl Unzip to any location on the d drive, cmd (Run as administrator, otherwise the installation will fail) If no error is reported when executing the command, it means that we have successfully installed and downloaded php_memcache.dll: https://pecl.php">
Home > Article > Backend Development > memcache install memcache install redis php memcache extension
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.