Click to See Complete Forum and Search --> : PHP w/IMAP on RH8


shad0w
12-02-2002, 10:44 PM
Here is the lowdown... (I haven't officially tested this yet, I still have to install a webmail client to make sure it works).

php-4.2.3
Washington University C-Client

tar zxvf php-4.2.3.tar.gz
tar zxvf c-client.tar.Z

cd imap-2002 (<--this is c-client)
make lrh (this builds imap libs/headers)

per the PHP manual ( I put these in /usr/lib )
http://www.php.net/manual/en/ref.imap.php

then cd ../php-4.3.2

(if you have mysql/apache then do all of what is listed here if you like)


./configure --prefix=/usr/local/php --with-imap --with-mysql=/usr/local/mysql --enable-apache=../apache_1.3.27 --with-xml --enable-track-vars --enable-trans-sid --enable-magic-quotes --with-imap-ssl

make

make install

That SHOULD enable IMAP for PHP