http://ch.php.net/manual/en/ref.imap.php
--> ftp://ftp.cac.washington.edu/imap/
under User Contributed Notes IMAP, POP3 and NNTP Functions:
With SSL support: ------------------ tar -zxf imap-xxxxx.tar.Z cd imap-xxxxx make slx ln -sf c-client include ln -sf c-client lib cd .. tar -jxf php-4.3.x.tar.bz2 cd php-4.3.x ./configure --with-imap=../imap-xxxxx --with-imap-ssl=/path-to-openssl
With out SSL support: --------------------- tar -zxf imap-xxxxx.tar.Z cd imap-xxxxx make slx SSLTYPE=none ln -sf c-client include ln -sf c-client lib cd .. tar -jxf php-4.3.x.tar.bz2 cd php-4.3.x ./configure --with-imap=../imap-xxxxx
Mike Staver wrote:
I'm trying to compile php 4.3.6 with imap support on a Red Hat 9 box with this line:
/home/staver/php-4.3.6/configure --with-mysql --with-apxs=/etc/httpd/bin/apxs --with-imap=/home/staver/imap-2004/src --with-kerberos
I'm getting an error that appears to be pretty common according to the news groups I've researched:
configure: error: Cannot find imap library (libc-client.a). Please check your IMAP installation.
I have not found a solution to this - can somebody point me in the right direction to solving this ASAP? Thanks in advance.
-Mike