zoukankan      html  css  js  c++  java
  • mac php7.0~7.2 memcache安装

    参考 

    https://www.uedbox.com/post/8924/

    https://blog.csdn.net/bjbs_270/article/details/45642905

    1. zlib问题

    xcode-select --install

    xcode-select -p   看是否是   /Library/Developer/CommandLineTools  不是执行  sudo xcode-select -s /Library/Developer/CommandLineTools

    brew install zlib

    ln -s /usr/local/Cellar/zlib/1.2.11/include/* /usr/local/include

     

    2.缺少php_smart_str.h  php_smart_str_public.h  更改文件名不能正常编译

    git clone https://github.com/php-memcached-dev/php-memcached.git

    cd php-memcached/

    phpize
    ./configure --disable-memcached-sasl  //去掉sasl验证

    make && make install

     

     

     

  • 相关阅读:
    ccf 201604-3 路径解析
    ccf 201609-3 炉石传说
    ccf 201612-3 权限查询
    ccf 201709-3 JSON查询
    ccf 201703-3 Markdown
    POJ 3259 -- Wormholes
    Bellman-Ford 单源最短路径算法
    【oracle】oracle启动和关闭步骤
    【Excel】Excel根据单元格背景色求和
    【Oracle】Oracle时间日期格式
  • 原文地址:https://www.cnblogs.com/wxtrip/p/10581266.html
Copyright © 2011-2022 走看看