Installer not seeing imap support in php

I've recently taken a backup of my sites, reformatted my vps, and installed a different control panel (centoswebpanel).

I've restored most parts of my sites, but I can't get my helpdesk working no matter what I try.

The error i'm getting is saying that the imap module in php isn't enabled, yet i've enabled it for the php version that maian support is set to use (7.2.21), so i'm baffled as to why it isn't seeing it.

[img]http://csc2ya.co.uk/maianphperror.png[/img]