在CentOS中的XAMPP中配置memcahed时出现另一个错误
# /opt/lampp/bin/phpize
Configuring for:
PHP Api Version: 20131106
Zend Module Api No: 20131226
Zend Extension Api No: 220131226
Run Code Online (Sandbox Code Playgroud)
找不到autoconf.请检查您的autoconf安装和$ PHP_AUTOCONF环境变量.然后,重新运行此脚本.
怎么解决呢?
当尝试使用php在xmapp服务器中配置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
Run Code Online (Sandbox Code Playgroud)
显示错误:
heck为ZLIB的位置...没有检查zlib的位置... configure:错误:memcache支持需要ZLIB.使用--with-zlib-dir =指定ZLIB包含和库所在的前缀