note 21580 added to ref.imap
| From: | todd at nbm dot com | Date: | Fri, 17 May 2002 21:42:33 +0000 |
| Subject: | note 21580 added to ref.imap | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-30773@lists.php.net to get a copy of this message | ||
I was going crazy trying to get PHP 4.2.1 to work with the imap-2001a c-client in RH-7.2.
The problem was the instructions provided by PHP. Do NOT copy c-client/*.h to /usr/local/include!
Make will crash when it tries to include unix.h. Instead, only copy the following:
cp c-client.a /usr/local/lib
cp rfc822.h mail.h linkage.h /usr/local/include
This was what the old instructions for this said, but someone revised them in the last month or so.
I used the shared module install instructions found here, compiled mcrypt and imap (with ssl
support), and then used the following for configure:
--enable-dbase --with-mysql=/usr/local/mysql --with-zlib --enable-ftp --with-mcrypt=/usr/local/lib
--enable-trans-sid --with-apxs=/usr/local/apache/bin/apxs --with-imap --with-kerberos
--with-imap-ssl
--
http://www.php.net/manual/en/ref.imap.php
http://master.php.net/manage/user-notes.php?action=edit+21580
http://master.php.net/manage/user-notes.php?action=delete+21580
http://master.php.net/manage/user-notes.php?action=reject+21580