note 16514 added to ref.imap
| From: | netshadow at madpoets dot org | Date: | Fri, 02 Nov 2001 15:38:19 +0000 |
| Subject: | note 16514 added to ref.imap | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-20302@lists.php.net to get a copy of this message | ||
Compiling in IMAP support.
I recently successfully compiled in IMAP support for PHP4.0.6 statically compiled into apache on my
FreeBSD4.3 box. I did this using the most recent version of c-client(2001a/RC2). Originally I got
loads of "call to undefined....blahblah" errors.
The solution was this:
d/l, configure, and make the c-client library. (you do not need to make install)
Create 2 directories under the c-client subdirectory, lib/ and include/.
Copy c-client.a into lib and rename it to libc-client4.a.
Copy rfc822.h, mail.h, and linkage.h into include/.
Configure PHP with the path to the c-client subdir in the imap option
(--with-imap=/tmp/dircreatedbyuntar/c-client).
make and make install for php.
After this, the configure and make for apache went normally.
This worked fine for me on my BSD box, I assume that it would work in Linux as well, though I am not
familliar enough with it to say for sure
--
http://www.php.net/manual/en/ref.imap.php
http://master.php.net/manage/user-notes.php?action=edit+16514
http://master.php.net/manage/user-notes.php?action=delete+16514
http://master.php.net/manage/user-notes.php?action=reject+16514