当尝试按照以下步骤在 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
显示错误:
hecking for the location of ZLIB... no checking for the location of zlib... configure: error: memcache support requires ZLIB. Use --with-zlib-dir= to specify prefix where ZLIB include and library are located
最佳答案
sudo apt-get install zlib1g-dev
对于 debian stretch
关于php - 配置 : error: memcache support requires ZLIB.,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/31581591/