Today I am trying to upgrade php on MacOS Mountain Lion. I followed MacTuts+ tutorial and on the step where I execute that long command:
Docker and PHP with Apache (php:apache default image) can works with:
RUN apt-get update && apt-get install libc-client-dev libkrb5-dev
RUN docker-php-ext-configure imap --with-kerberos --with-imap-ssl
Other dependencies can be needed, depending on the installation.
I've Installed the following package and it works :
uw-imap-devel
Run this command on CentOS 7.x :
yum -y install uw-imap-devel