If you are attempting to get a file’s MIME type with your PHP installation for the first time, you may find that the MIME type always shows up as application/x-dpkg.

In this article, I will provide you with a fixed magic.mime file and show you what is happening. Get your mime type fix