Manual:$wgLoadFileinfoExtension

Details
Switch for loading the FileInfo extension by PECL at runtime.

This should be used only if FileInfo is installed as a shared object / dynamic libary.