Installing IMAP for PHP 7.2 on DirectAdmin Servers

The OVH notification module requires IMAP compiled into the PHP. Here we detail how to install the IMAP extension and compile it into your DirectAdmin setup. 

CentOS DirectAdmin Servers

yum -y install pam-devel

Next, run the following commands in order

cd /root
wget -O imap_php.sh files.directadmin.com/services/all/imap_php.sh
chmod 755 imap_php.sh
./imap_php.sh

At this point, the IMAP module should be compiled into PHP and ready for use.

Was this answer helpful? 0 Users Found This Useful (0 Votes)