Kayako – Your PHP was not compiled with IMAP support. Ubuntu 14.04

If you have just upgrade Ubuntu from 12.04 to Ubuntu 14.04 and are running Kayako. You might have seens this bug:

Your PHP was not compiled with IMAP support. 

The solution is to first install the php imap extension:

sudo apt-get install php5-imap

Then restart Apache using:

sudo apache2ctl restart

If you are still having the error then you need to explicitely enable this extension.

ln /etc/php5/conf.d/imap.ini /etc/php5/apache2/conf.d/20-imap.ini

Then finally restart Apache again:

sudo apache2ctl restart

Hope this help someone.

6 thoughts to “Kayako – Your PHP was not compiled with IMAP support. Ubuntu 14.04”

  1. sudo ln /etc/php5/mods-available/imap.ini /etc/php5/apache2/conf.d/20-imap.ini

    using xubuntu 14.04

    Thanks

  2. I believe symbolic link switch is missing. This worked for me on Ubuntu 14.04:
    sudo ln -s /etc/php5/mods-available/imap.ini /etc/php5/apache2/conf.d/20-imap.ini

  3. ubuntu 14.04
    sudo apt-get install php5-imap

    restart apache
    sudo /etc/init.d/apache2 restart

    if you have still error

    sudo find / -name imap*

    and find location of imap.so file

    add these lines into php.ini
    ;Enable Imap Support
    extension={Location}/imap.so

    and restart apache again.

Leave a Reply to Nuno Meireles Cancel reply