Open php memcache Extension

Source: Internet
Author: User
Tags php website

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.