PHP does not have an open memcache extension by default, and the installation of the memcache extension is explained in detail below.
Installing Memcache extensions under Windows
Visit the PHP website http://pecl.php.net/package/memcache
Click DLL to download the corresponding Windows version of DLL
650) this.width=650; "src=" Http://static.hcoder.net/uploads/image/20150806/1438829506758160.gif "title=" "style=" margin:8px 0px;padding:0px;border:none;line-height:2.2em; "/>
650) this.width=650; "src=" Http://static.hcoder.net/uploads/image/20150806/1438829611327063.gif "title=" "style=" margin:8px 0px;padding:0px;border:none;line-height:2.2em; "/>
Copy the DLL to php/ext/
Modify PHP.ini
Extension=php_memcache.dll
Restart Web Access to open
Installing Memcache extensions under Linux
Centos:
Yum install Php-pecl-memcache from PHP.
or compile and install PHP extensions under Linux, ditto
This article is from the "lake and Laughter" blog, please make sure to keep this source http://hashlinux.blog.51cto.com/9647696/1758045
Open php memcache Extension