Php fileinfo

Sorry for what might seem like a basic question to some

but can someone tell me how to enable php_fileinfo on my server?

and if it helps, for this website i am using 7.2

It should be there by default in the common package of lsphp72 which was installed by default. Can you show me the output of phpinfo ?

I have the same issue. I Don’t find PHP fileinfo extension in any PHP version

<?php if (!function_exists('finfo_file')) { echo ' [ERROR] Fileinfo extension is NOT enabled.'; } else { echo ' [OK] Fileinfo extension is enabled.'; } ?>