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

  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

Change IP License and Main Ip

http://help.directadmin.com/item.php?id=250 

Updating and Compiling Apache and PHP

To update and compile everything, run the follwing: cd /usr/local/directadmin/customapache...

Updating and Compiling Apache and PHP With Custombuild

http://files.directadmin.com/services/custombuild/1.1/

Security Tips for DirectAdmin

http://help.directadmin.com/item.php?id=247

Configuring smarthost on directadmin exim

Adding this to exim.conf after "begin routers":Code: smart_route: driver = manualroute...