Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I've been trying to install the imap extension on my server by doing the following:

sudo apt-get install php5-imap
sudo /etc/init.d/httpd2 restart apache2-ps----

Everything seems to work fine, the extension has been installed, Apache has restarted. I even tried to re-install the extension and got a message that it was already installed and that nothing was updated.

Now , when I go to the Status Report of my Drupal installation, I still get the following message.

Mailhandler requires that PHP's IMAP extension is enabled 
in order to function properly.

After doing a lot of Googling, I'm still stuck...

  • Is there a way to verify that the imap extension has been correctly installed?
  • Do I need any further action in order to enable it?


Info from phpinfo(), suggests that IMAP is installed, therefore it may not be a server issue!


IMAP c-Client Version   2007b
SSL Support enabled
Kerberos Support    enabled
share|improve this question
What does phpinfo(); tell you? – Bart De Vos Oct 28 '11 at 8:29 – quanta Oct 28 '11 at 9:36
up vote 1 down vote accepted

Problem solved, it's actually Drupal related.

There's no issue with the way the extension was installed but the notification in Drupal doesn't disappear. leading you to believe that the problem hasn't been fixed.

IMAP    Enabled
Mailhandler requires that PHP's IMAP extension 
is enabled in order to function properly.

With a closer look, I could see that IMAP was actually enabled...

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.