I have been having a hell of a time getting imap support for php. 
Basically the setup is: 
 
postfix MTA (2.0.3) with courier-imap (1.7.0)
 
 
I found a page describing how to setup uw-imap c-client library so that 
php will have imap support: 
 
http://www.horde.org/faq/admin/prereq/index.php
 
 
2.3.2 I don't use UW-IMAP. How can I build IMAP support into PHP?
IMP 2.2 and 3.x require that PHP be built with IMAP support; PHP requires 
that the UW-IMAP "c-client" library be available during compilation. This 
library is the reference IMAP implementation and is only an IMAP client. 
It has nothing to do with the IMAP server that you use; even if you use 
the Courier or Cyrus IMAP server, you must download the UW-IMAP package 
and build c-client on the same machine as the webserver. The steps to 
build only the c-client libraries are as follows:

Move to the top directory of the UW-IMAP distribution. 
Run make with the correct argument for your operating system. 
ln -s c-client include 
mkdir lib 
cd lib 
ln -s ../c-client/c-client.a libc-client.a 
and then point PHP configure's --with-imap option at the top directory of 
the UW-IMAP distribution. (There is no need to make install in the IMAP 
distribution.) 


I downloaded and installed the latest version of php and configured with 
the --with-imap-ssl flag ( i first compiled --with-imap but it complained 
that the c-client libraries used ssl and therefore i had to recompile with 
--with-imap-ssl)

I am trying to install this to use some of the horde applications 
(www.horde.org). The test page for horde complains that IMAP support is 
not available. If anyone could provide any insight into this i would 
greatly appreciate it. 

Thanks, 
Bret


-- 
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to