Requirements you should install with yast:
Of course you should have php installed also.
Now run command:
pecl install fileinfo
Do not forget to load this extension in your php.ini:
extension=fileinfo.so