I have the issue installing a memcached's module for php 7.1. I use MacOS High Sierra and php@7.1 installing using homebrew. During the installation of memcached module for php using command
pecl install memcached
I received the errors:
checking for zlib location... configure: error: memcached support requires ZLIB. Use --with-zlib-dir= to specify the prefix where ZLIB headers and library are located ERROR: `/private/tmp/pear/install/memcached/configure --with-php-config=/usr/local/opt/php@7.1/bin/php-config --with-libmemcached-dir' failed
But I have installed zlib. I can't find a way how to install memcached module after the changes in homebrew repository.