I am using mime_content_type() in PHP 5.5 to get a MIME type, but it throws fatal: error function not found.
mime_content_type()
fatal: error function not found
How can I achieve this on PHP
mime_content_type() is not deprecated and works fine.
Why is mime_content_type() deprecated in PHP?
http://php.net/manual/en/function.mime-content-type.php
As of PHP 5.3, it's even built-in.