note 48976 added to ref.imap
| From: | antivert at osu1 dot php dot net | Date: | Thu, 13 Jan 2005 16:55:12 +0000 |
| Subject: | note 48976 added to ref.imap | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-83207@lists.php.net to get a copy of this message | ||
Note that is not not necessary to disable SSL in the IMAP compile to make it work with PHP 5.0.3.
1. Compile IMAP with SSL support for your system:
cd /path/to/imap/source/
make <system type> (ldb, lnx, etc)
mkdir include
mkdir lib
2. Make links in IMAP source directory:
cd /path/to/imap/source/c-client
cp *.h ../include/
cp *.c ../lib/
cp c-client.a ../lib/libc-client.a
3. Compile PHP with SSL support, --with-imap=/path/to/imap/source/ . If SSL support fails,
you'll get a configure-time error that IMAP doesn't work. This is a lie, you just need to
get SSL support working in PHP. On certain linux systems, with OpenSSL 0.9.7, this means adding
--with-openssl=/usr (if the OpenSSL files are in /usr/include/openssl/) instead of the proper
directory containing the OpenSSL files. For some reason, giving a parent directory makes PHP able to
find the OpenSSL include files.
4. PHP should build.
Alternately, you can disable SSL during the IMAP build, as per the previous directions posted here.
----
Manual Page -- http://www.php.net/manual/en/ref.imap.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+48976
Delete -- http://master.php.net/manage/user-notes.php?action=delete+48976&report=yes
Reason: bad code -- http://master.php.net/manage/user-notes.php?action=delete+48976&report=yes&reason=bad+code
Reason: spam -- http://master.php.net/manage/user-notes.php?action=delete+48976&report=yes&reason=spam
Reason: useless example -- http://master.php.net/manage/user-notes.php?action=delete+48976&report=yes&reason=useless+example
Reason: contains commercial links -- http://master.php.net/manage/user-notes.php?action=delete+48976&report=yes&reason=contains+commercial+links
Reason: useless note -- http://master.php.net/manage/user-notes.php?action=delete+48976&report=yes&reason=useless+note
Reject -- http://master.php.net/manage/user-notes.php?action=reject+48976&report=yes
Search -- http://master.php.net/manage/user-notes.php