written in front: the installation is memcached, the configuration succeeds Memcache, the main reason is the lack of php_memcached.dll extension files under Windows, the same installation and configuration methods. Detailed View:http://memcached.org/ first, preparation software memcached software download: Http://pan.baidu.com/s/1eQGiYIYphp_memcache.dll Download:/http pan.baidu.com/s/1gd5x5s3 Second, install Memcached1 under Windows XP. Store the software in a relatively easy-to-get folder, such as I put it in the D:\wamp\www directory; 2. Run the cmd command as Administrator, execute CD D, CD to the corresponding directory D:\wamp\www directory, execute command memcached.exe-d install, and then execute command memcached.exe-d start service; 3. In Computer Management--services, see if Memcache server is started, perform telnet 127.0.0.1 11211, log on successfully, and install successfully. Configuration Php_memcache.dll Environment 1. I am installing WAMP, and other environments can find the appropriate location configuration. First copy the Php_memcache.dll to the D:\wamp\bin\php\php5.4.16\ext directory; 2. Go to D:\wamp\bin\apache\Apache2.4.4\bin, find php.ini, search for "extension=", about 991 lines, add Extension=php_memcache.dll, 3. Optional configuration [memcache] memcache.allow_failover = 1 memcache.max_failover_attempts=20 Memcache.chunk_size =8192 Memcache.default_port = 11211 4. Finally open phpinfo to see if there are memcache
Windows installed memcached
in PHP