How to enable php_fileinfo extension in PHP?
问题 My Laravel app can't validate uploaded images. It returns this error message: Unable to guess the mime type as no guessers are available (Did you enable the php_fileinfo extension?) I know enabling php_fileinfo.dll/php_fileinfo.so at php.ini fixes it. But I don't have access to my remote server's php.ini file. So I thought is there any other way to enable it? And how? Maybe I can use PHP's ini_set() methods? I tried using it like: ini_set('extension', 'php_fileinfo.so'); But it doesn't work.