memcached - Not able to install php memcache -


when run brew install php56-memcache following error.

checking whether enable memcache session handler support... yes checking location of zlib... no checking location of zlib... configure: error: memcache support requires zlib. use --with-zlib-dir=<dir> specify prefix zlib  include , library located 

i have zlib in brew list.

autoconf    jpeg        memcached   php56       ruby-build freetype    libevent    mhash       php56-igbinary  unixodbc gettext     libmemcached    mysql       php56-memcached vim git     libpng      node        pkg-config  zlib icu4c       mcrypt      openssl     rbenv 

i tried `bbrew install php56-memcache --with-zlib-dir=/usr/local/cellar/zlib/1.2.8' gives same error.

i tried manual way, ./configure, make, make install, result same.

how can install memcache?

i run followings , installed.

brew link --force zlib brew install php56-memcache 

Comments

Popular posts from this blog

facebook - android ACTION_SEND to share with specific application only -

python - Creating a new virtualenv gives a permissions error -

javascript - cocos2d-js draw circle not instantly -