note 4825 deleted from ref.imap by sniper
| From: | sniper@php.net | Date: | Sun, 07 Sep 2003 22:20:03 +0000 |
| Subject: | note 4825 deleted from ref.imap by sniper | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-55763@lists.php.net to get a copy of this message | ||
Note Submitter: ccunning@math.ohio-state.edu
----
Note to RedHat users:
To get php imap support with redhat's shipped IMAP rpm, do the following.
1) Install both the imap and imap-devel rpm's
2) As mentioned above, copy /usr/lib/c-client.a to /usr/lib/libc-client.a and the three headers
(mail.h, linkage.h, and rfc822.h from /usr/include/imap to /usr/include
3) Important! Before configuring PHP, you'll need to set a few environmental variables. With
bash, do:
export LDFLAGS="-L/usr/kerberos/lib -lkrb5 -lgssapi_krb5 -lpam"
or c shell:
setenv LDFLAGS "-L/usr/kerberos/lib -lkrb5 -lgssapi_krb5 -lpam"
Now configure php --with-imap and other options and all should work well.