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

memcache install memcache install redis php memcache extension

WBOY
WBOYOriginal
2016-07-29 08:52:29951browse

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

memcache install memcache install redis php memcache extension

memcache install memcache install redis php memcache extension

No error means we have installed successfully

Download php_memcache.dll: https://pecl.php.net/package/memcache/3.0.8/windows

memcache install memcache install redis php memcache extension

Mine is 5.6 version so download the 64-bit TS version

Put the dll extension into the php extension folder

memcache install memcache install redis php memcache extension

Add extension=php_memcache.dll in php.ini

memcache install memcache install redis php memcache extension

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)

memcache install memcache install redis php memcache extension

The above introduces memcache installation, including memcache content. I hope it will be helpful to friends who are interested in PHP tutorials.

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn