Checked my settings and in the configure command line I have entries ...
'--with-imap=/usr/local/lib' '--with-imap-ssl'
So I assume that is the imap support you need,
and sessions have their own section on the phpinfo output....
session
Session Support enabled
Directive Master Value
session.auto_start Off
session.cache_expire 180
session.cache_limiter nocache
session.cookie_domain no value
session.cookie_lifetime 0
session.cookie_path /
session.cookie_secure Off
session.entropy_file no value
session.entropy_length 0
session.gc_maxlifetime 1440
session.gc_probability 1
session.name PHPSESSID
session.referer_check no value
session.save_handler files
session.save_path /tmp
session.serialize_handler php
session.use_cookies On
session.use_trans_sid 1
Your settings should like similar to the above if sessions are enabled (but need not look exactly the same).
IMAP also has it's own settings table...
imap
IMAP Support enabled
IMAP c-Client Version 4.1
SSL Support enabled
Hope that this helps.