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
ERROR: `/tmp/pear/temp/memcache/configure --enable-memcache-session=yes' failed
To remove this error,you need to install zlib package.
If you are using Debian or Ubuntu, Run command
Add line
Restart xampp.
ERROR: `/tmp/pear/temp/memcache/configure --enable-memcache-session=yes' failed
To remove this error,you need to install zlib package.
If you are using Debian or Ubuntu, Run command
sudo apt-get install zlib1g-dev libncurses5-dev
If you are using CentOS, fedora or RHEL, Run command sudo yum install zlib-devel
Now run again,sudo /opt/lampp/bin/pecl install memcache
If it runs successfullyAdd line
extension=memcache.so
in the file php.ini.Restart xampp.
No comments:
Post a Comment