Imap libraries not detected

Hi,

I’ve installed libc-client2007e. libc-client2007e-dev. php5-imap on my Ubuntu 14 and Imap is shown in phpinfo():
Protocols dict, file, ftp, ftps, gopher, http, https, imap, imaps, ldap, ldaps, pop3, pop3s, rtmp, rtsp, smtp, smtps, telnet, tftp
IMAP Rex Logan, Mark Musone, Brian Wang, Kaj-Michael Lang, Antoni Pamies Olive, Rasmus Lerdorf, Andrew Skalski, Chuck Hagenbuch, Daniel R Kalowsky

However I still get the message:
Inbound Email cannot function without the IMAP c-client libraries enabled/compiled with the PHP module. Please contact your administrator to resolve this issue.

Any ideas how to deal with this?

Regards,
Janis

Adding extension=imap.so to php.ini did the trick. Thought I don’t have to do this as IMAP was showing in phpinfo(), however I was wrong!

Regards,
Janis