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

     

     

     

  • 相关阅读:
    python之路----初识面向对象(二)
    python之路----初识面向对象
    python之路----包
    python之路----模块与序列化模块
    python之路----模块调用
    python之路----常用模块二
    Python之路----递归函数
    Python之路----内置函数
    【CSS】整屏大背景
    【PHP】打印输出var_dump+echo+print_r
  • 原文地址:https://www.cnblogs.com/wxtrip/p/10581266.html
Copyright © 2011-2022 走看看