Monday, 24 August 2009

How to Complile PHP with imap on directadmin server

Trying to add --with-imap to your configure.php5 ?
and getting this error?

configure: error: utf8_mime2text() has new signature, but U8T_CANONICAL is missing

Solution (worked for me, this was a dovecot machine):

# yum install libc-client
# yum install libc-client-devel

Then add following lines in:-

nano /usr/local/directadmin/custombuild/configure/ap2/configure.php5



--with-imap=/usr/lib/dovecot/imap
--with-imap-ssl


to: configure.php5

# cd /usr/local/directadmin/custombuild/configure/ap2



# ./build php y


Go_GrEen^ThiNk_GReeN~LoVE_GreEn

No comments:

Post a Comment