Linux Install PHP extension memcache

Source: Internet
Author: User

Linux Install PHP extension memcache

PHP extension memcache to support the memcached Database cache server, the following is the installation method.
1. Download and unzip the memcache file

    1. Wget-c http://pecl.php.net/get/memcache-3.0.6.tgz
    2. Tar xzvf memcache-3.0.6.tgz
    3. CD memcache-3.0.6

2, the implementation of Phpize extension installation program, assuming that the path of Phpzie is/usr/local/php/bin/phpize, the specific path to be modified according to their own environment.

    1. /usr/local/php/bin/phpize

3. Start installing extension memcache

    1. ./configure--enable-memcache--with-php-config=/usr/local/php/bin/php-config--with-zlib-dir
    2. Make && make install

4, finally modify the php.ini file, add the following code before Zend.

    1. [Memcache]
    2. Extension_dir = "/usr/local/php/lib/php/extensions/no-debug-non-zts-20060613/"
    3. Extension=memcache.so

Reprint please indicate the article source: "https://www.centos.bz/2011/11/linux-install-php-memcache/"

Linux Install PHP extension memcache

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.