Closed clarkk closed 8 years ago
but what about the dependencies?!
@clarkk Actually, you just need to edit the build configuration in build.sh
, see http://php.net/manual/en/imap.installation.php
Solution
https://forum.directadmin.com/showthread.php?t=45434 http://www.brighterlamp.com/2012/12/how-to-compile-php-with-imap-support/
apt-get install libpam0g-dev
cd /usr/local && wget ftp://ftp.cac.washington.edu/imap/imap-2007f.tar.gz && tar -xvf imap-2007f.tar.gz && cd imap-2007f
make lr5 && mkdir lib && mkdir include
cp c-client/*.c lib/ && cp c-client/*.h include/ && cp c-client/c-client.a lib/libc-client.a
Add to build.sh
--with-imap-ssl=/usr/local/imap-2007f \
--with-imap=/usr/local/imap-2007f \
How to build PHP with IMAP support?
The extension is not under
/usr/local/php7/include/php/ext