Gabyyro's avatar

Mime type upload problem

I am using a shared web host that do not allow enabling the php file_info extension so I am receiving this error when validating uploads: Unable to guess the mime type as no guessers are available (Did you enable the php_fileinfo extension?)

Is there any other alternative for file upload validation in laravel 5.4 that bypass this? I did not manage to find any.

0 likes
2 replies
Gabyyro's avatar

Thanks, I already saw those, I kind of posted here after searching some answer. I cannot change host now, also they say is not active for security reasons.

I have a feeling that most hosts will have same issue, I am also a bit against time and hard to change host now. Is very annoying after testing application on local, to find this issue.

Please or to participate in this conversation.