How to enable memcache in WAMP

前端 未结 8 1696
礼貌的吻别
礼貌的吻别 2020-11-27 13:25

How to install memcache in WAMP?

I don\'t find any php_memche in php.ini.

What do I do now?

@Ryan

thanks for your step, now memc

相关标签:
8条回答
  • 2020-11-27 14:12

    If you are running 64 bit WAMP:

    The common service and extensions will not work for you.

    Install the 64 bit memcached service:

    http://s3.amazonaws.com/downloads.northscale.com/memcached-win64-1.4.4-14.zip

    And one of these php extensions (to match your php version):

    Php 5.3: http://www.mediafire.com/download.php?o60feet9sw71six

    Php 5.4: http://www.mediafire.com/download.php?8d3vd26z3fg6bf1

    32bit version for Php 5.4: http://windows.php.net/downloads/pecl/releases/memcache/3.0.6/php_memcache-3.0.6-5.4-ts-vc9-x86.zip

    0 讨论(0)
  • 2020-11-27 14:14

    Memcache is a PECL extension and not bundled with PHP.

    This PECL extension is not bundled with PHP . Information for installing this PECL extension may be found in the manual chapter titled Installation of PECL extensions. Additional information such as new releases, downloads, source files, maintainer information, and a CHANGELOG, can be located here: http://pecl.php.net/package/memcache.

    Note:
    It's possible to disable memcache session handler support. 
    The 'pecl install' option prompts for this (default is enabled) 
    however when compiling statically into 
    PHP the --disable-memcache-session configure option may be used.
    

    It is very important to note when reading the information supplied by others on this page that there are two distinct memcache PHP implementations for the service "memcached".

    1) pecl-memcache
    2) pecl-memcached
    

    This page is for the first, pecl-memcache.

    If you are looking for pecl-memcached information, visit here:

    http://www.php.net/manual/en/book.memcached.php

    0 讨论(0)
提交回复
热议问题