PDA

View Full Version : PHP5 IMAP Extension prevents the builing process


Lorio
07-14-2005, 08:08 AM
The cpanel team still ignores this problem

http://bugzilla.cpanel.net/show_bug.cgi?id=1633

but I still try to find the best way to get IMAP working.

This problem is also happening with 5.0.4.

I only could find a solution for FreeBSD.

Right, since cpanel aren't bothering to offer any advice, here's a working solution, we've just tested this and it works without any hitches. Keep in mind this solution assumes we're talking about a FreeBSD system.

1. log in or su to root.
2. cd /usr/ports/mail/cclient
3. make deinstall
4. make WITHOUT_SSL=yes install clean
5. procede to update apache/php as normal with the imap module, curl, and whatever else you need. The error should be gone.


The error is due to cclient being built with SSL enabled, which requires all associated components to ALSO be compiled with imap-SSL support, since it appears easyapache does not include the required switch to add the imap-SSL parameter your update runs will always fail. Ideally you'd want SSL enabled, but since manually updating php is a trickier procedure for a novice than just turning SSL back off, that's the solution I've offered above. If you ain't a novice you probably already know what to do to get php updated on your own :P.
Reply With Quote

http://forums.cpanel.net/showthread.php?t=37640&highlight=imap+ssl