Report 'php -m' is report from 'php branch'. It's different with if we use 'php54m' in 'php used'.
Near all modules for phpXYm already installed but some module set as disable. Look at /opt/php54m/etc/php.d and possible you see imagick.nonini. If want enable copy to imagick_used.ini.
To know about phpXYm report use 'php54m-cli -m' (for php54m).