TurnKey Linux Virtual Appliance Library

imap_open() and imap support in LAMP

Just installed a fresh copy of the LAMP image and found no imap_open() support. Is there a reason for this that I am missing?

Just open "Software-Packages"

Just open "Software-Packages" in Webmin, search APT for "php5-imap" and istall the module. Then restart Apache and IMAP support is aktive! :-)

No php5-imap found

I'm trying to find the php5-imap but it is not found on the Software-Packages. Any ideas

Jeremy's picture

You need to install it...

apt-get update && apt-get install php5-imap

install package error in Webmin

I get this error:

Installing package(s) with command apt-get -y --force-yes -f install php5-imap ..


dpkg: status database area is locked by another process
E: Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily unavailable)
E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?

.. install failed!


Any suggestions?  I'm clearly in over-my-head now.  I tried stopping Apache first but that didn't help.


Nevermind...a server restart fixed it.  Sorry I didn't think of that first.

Post new comment

The content of this field is kept private and will not be shown publicly. If you have a Gravatar account, used to display your avatar.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <p> <span> <div> <h1> <h2> <h3> <h4> <h5> <h6> <img> <map> <area> <hr> <br> <br /> <ul> <ol> <li> <dl> <dt> <dd> <table> <tr> <td> <em> <b> <u> <i> <strong> <font> <del> <ins> <sub> <sup> <quote> <blockquote> <pre> <address> <code> <cite> <strike> <caption>

More information about formatting options

Leave this field empty. It's part of a security mechanism.
(Dear spammers: moderators are notified of all new posts. Spam is deleted immediately)