note 21580 deleted from ref.imap by sniper
| From: | sniper@php.net | Date: | Sun, 07 Sep 2003 22:16:28 +0000 |
| Subject: | note 21580 deleted from ref.imap by sniper | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-55740@lists.php.net to get a copy of this message | ||
Note Submitter: todd@nbm.com
----
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