note 23164 added to ref.imap
| From: | alex at cite dot gda dot itesm dot mx | Date: | Wed, 10 Jul 2002 21:52:03 +0000 |
| Subject: | note 23164 added to ref.imap | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-32867@lists.php.net to get a copy of this message | ||
I needed imap support, and most configurations of php say that imap2001a has ssl, so you need to use
--with-imap-ssl or --with-kerberos. But after getting a nasty error in apachectl start like:
undefined symbol: ssl_onceonlyinit, or something, this is what I did:
1. NOT use --with-imap-ssl (sorry if you need this, I have no idea how to make this option work)
2. use --with-imap=DIR, where DIR has all of these:
include/c-client.h
include/env.h
include/env_unix.h
include/fs.h
include/ftl.h
include/imap4r1.h
include/linkage.h
include/mail.h
include/misc.h
include/nl.h
include/nntp.h
include/os_slx.h
include/osdep.h -> os_slx.h
include/rfc822.h
include/smtp.h
include/tcp.h
lib/c-client.a
lib/libc-client.a -> c-client.a
[
just in case, one.a -> two.a is a link, created with "ln -s two.a one.a"
]
3. remove /path/to/php-inst/config.cache
4. remove /path/to/apache/libexec/libphp4.so
5. do /path/to/php-inst/make clean
then configure, make and make install
Cheers!
AlexM.
--
http://www.php.net/manual/en/ref.imap.php
http://master.php.net/manage/user-notes.php?action=edit+23164
http://master.php.net/manage/user-notes.php?action=delete+23164
http://master.php.net/manage/user-notes.php?action=reject+23164