checking for the location of zlib... configure: error: memcache support requires ZLIB. Use --with-zlib-dir=<DIR> to specify prefix where ZLIB include and
library are located
yum install zlib-devel
或
rpm -ihv zlib-devel-1.2.3-3.x86_64.rpm
2.安装完成后,出现memcache已经安装的提示:
Note: packaged extension modules are now loaded via the .ini files
; found in the directory /etc/php.d; these are loaded by default.
;;;;
在/etc/php.d/下已经生产memcache.ini的配置文件.所以,我们不需要手动去加.
3.checking for the location of zlib... configure: error: memcache support requires ZLIB. Use --with-zlib-dir=<DIR> to specify prefix where ZLIB include and
library are located