MemCache在Linux系统下的安装方法

 时间:2024-10-21 00:21:46

1、 下载并解压Memcache扩展包文件(要和当前PHP版本对应),如下:Wget-c http://pecl.php.net/get/memcache-3.0.6.tgzTar xzvf memcache-3.0.6.tgz Cd memcache-3.8.6

2、(二)执行phpize扩展安装程序,假设phpize的路径为/usr/local/php/bin/phpize,具体的路径得根据自己的环境修改。如下:/usr/local/php/bin/phpize

3、(三)开始安装扩展MemCache:./configure –enable-mem罕铞泱殳cache –with幻腾寂埒-php-config=/usr/local/php/bin/php-config –with-zlib-dirMake&& make install

4、(四)最后修改php.ini文件,在zend之前加入[memcache]Extension_dir=”/usr/local/php/lib/php/extensions/no-debug-non-zts-20060613”;Extension=memcache.so

  • memcache在linux下的安装
  • Windows下memcache的安装
  • memcache简单使用
  • memcache的基本命令
  • MemCache的实例应用
  • 热门搜索
    番荔枝怎么吃 新生儿奶瓶怎么选 罗马数字怎么打 卤面怎么做好吃 阅读心得怎么写 怎么做螃蟹 宝宝上火怎么办 老年人血压高怎么办 菜心怎么做 怎么看nba直播