How can I make Debians PHP package use IMAP-SSL?
These instructions are quite old. Jason Healy contributed these instructions for building PHP with IMAP-SSL support. He tested them on a Debian testing system (Woody) with PHP 4.0.5-2. Find a nice quiet directory (replace /usr/local/src or your favorite source tree location:): mkdir /usr/local/src cd /usr/local/src Get the source to the PHP IMAP package (you must have deb-src: lines in your /etc/apt/sources.list for this to work) apt-get source php4-imap This will download and unpack the source to the php4 package. Make sure that you have all the development tools necessary to build the php4 package. A list of them can be found in /usr/local/src/php4_VERSION.dscM. Install all of those packages with apt-get. Make sure to use libc-client-ssl2000 and libc-client-ssl2000-dev (in non-us) instead of plain libc-client. Move into the source tree unpacked by Debian: cd /usr/local/src/php4-VERSION/debian Make these two changes: in the file rules, add the line –with-imap-ssl \ directly under the