DirectAdmin: PHP enable IMAP,POP3 with SSL

Current version of DirectAdmin (a hosting control panel software) didn’t build a php compiler with IMAP features, if you would like to compile custom PHP compiler to install web application such as eTicket, osTicket, SugarCRM and so on… you can build by DirectAdmin script as below

  1. For Apache 1 with no suPHP, configuration file at /usr/local/directadmin/custombuild/configure/ap1
  2. For Apache 2 with no suPHP, configuration file at /usr/local/directadmin/custombuild/configure/ap2
  3. For Apache with suPHP, configuration file at /usr/local/directadmin/custombuild/configure/suphp

Edit configuration up on your PHP compiler version, for me use configure.php5. Insert into the last line

"–with-imap-ssl" \
"–with-imap"

Save and quit.

Now, install some library may needs to compile new PHP compiler. For Ubuntu use below command

# sudo apt-get install libc-client-dev libc6-dev ca-certificates

Now, build new PHP compiler

# cd /usr/local/directadmin/custombuild/
# ./build php d

Try <?php phpinfo(); ?> on your web server, you should see imap extension.

บอกต่อ....
  • Digg
  • del.icio.us
  • Facebook
  • Google Bookmarks
  • LinkedIn
  • Twitter
  • email

Facebook comments:

Leave a Reply

You must be logged in to post a comment.