Author Topic: install php imap module on directadmin  (Read 6324 times)

golfreeze

  • Administrator
  • Hero Member
  • *****
  • Posts: 2145
    • View Profile
    • นั่งสมาธิ สติปัฏฐานสี่ พาเที่ยววัด แนะนำวัด แจกcd ธรรมะฟรี
    • Email
install php imap module on directadmin
« on: ธันวาคม 21, 2019, 12:08:14 PM »
I need IMAP compiled into php   Last Modified: Mar 28, 2019, 11:58 am
If you need imap compiled into php, run these pre-install commands:
CentOS
yum -y install pam-devel

Debian
apt-get install libc-client-dev



Once pre-install is done for your OS, run the following:
cd /root
wget -O imap_php.sh files.directadmin.com/services/all/imap_php.sh
chmod 755 imap_php.sh
./imap_php.sh

supports both CustomBuild 1.x and 2.x.
For CB2, it will automatically detect the configure.phpX path.

Note that this is beyond our technical support.
Check IMAP in PHP status
Note that version 1.2 of this script now supports the ability to call it like this:
./imap_php.sh --check

===reference
https://help.directadmin.com/item.php?id=341