【问题标题】:configure: error: memcache support requires ZLIB.配置:错误:memcache 支持需要 ZLIB。
【发布时间】:2015-10-13 10:02:02
【问题描述】:

当尝试通过以下步骤在 xmapp 服务器中使用 php 配置 memcache 时显示错误。

# /opt/lampp/bin/phpize

Configuring for:
PHP Api Version:         20131106
Zend Module Api No:      20131226
Zend Extension Api No:   220131226

# ./configure --enable-memcache --with-php-config=/opt/lampp/bin/php-config

显示错误:

检查 ZLIB 的位置...不检查 zlib... 配置:错误:memcache 支持需要 ZLIB。采用 --with-zlib-dir= 指定 ZLIB 包含和库所在的前缀

【问题讨论】:

    标签: php centos xampp memcached


    【解决方案1】:
    sudo apt-get install zlib1g-dev
    

    debian 拉伸

    【讨论】:

      【解决方案2】:

      确保你已经安装了 zlib-devel

      yum install zlib-devel

      【讨论】:

        猜你喜欢
        • 1970-01-01
        • 1970-01-01
        • 2014-04-13
        • 2012-12-22
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 2019-06-12
        • 2020-11-22
        相关资源
        最近更新 更多