IMAP is not included in your PHP installation

Discussion in 'Installation/Configuration' started by tellar, Jul 19, 2008.

  1. tellar

    tellar New Member

    I have just installed phplist to send my weekly newsletter but
    PHPlist needs the IMAP functions in PHP in order to connect to the mailbox. I have checked myinstalation and IMAP is installed on the server but the php module seems not to be.

    How can I install or enable the iap module for php?

  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Install the php-imap package from your linux distribution and then reload or restart apache.
  3. tellar

    tellar New Member

    The following:

    sudo apt-get install php5

    returns the message

    Package php5-imap is not available, but is referred to by another package.
    This may mean that the package is missing, has been obsoleted, or
    is only available from another source.

    what am i doing wrong
  4. falko

    falko Super Moderator ISPConfig Developer

    Please run
    apt-get update
    and try to install the package again.
  5. tellar

    tellar New Member

    It Worked Problem Solved

    Just to clarify the steps to install php-imap
    apt-get update
    sudo apt-get install php5
    thats it. Thanks to Falko & Till
  6. tellar

    tellar New Member

    Forggot dont forget to restart apache

    /etc/init.d/apache2 restart
  7. korigab

    korigab New Member

    it's not enabled by default so enable it with:

    php5enmod imap

Share This Page