How do I compile/enable IMAP4 on PHP?

Discussion in 'Server Operation' started by ctaborda, Jan 25, 2008.

  1. ctaborda

    ctaborda New Member

    Hi everyone,

    I'm looking for a detailed explanation of how to enable IMAP4 on PHP!. I have this web application (running on APACHE on LINUX), that needs the IMAP4 enabled on PHP.

    I was told I had to compile PHP with IMAP4 support, but I cant find any detailed help online.

    Any help would be greatly appreciated.

    Thanks,
     
  2. topdog

    topdog New Member HowtoForge Supporter

    Why do you have to compile it, just install the module if you are using a redhat based system the module is called php-imap.

    How ever if you are using a custom compiled php then you need the c-client then you should add this to your configure.
    Code:
    ./configure --with-imap[=DIR]
    
    Where DIR is the directory where the c-client is installed. More info is found here http://www.php.net/manual/en/ref.imap.php
     

Share This Page