I have a ubuntu 9.04 desktop that i'm using for my development machine with apache2 installed.
What are the steps that I need to go through to ensure that the mime types for files are determined correctly?
Currently all files are resolving to a mime-type of 'text/plain' because php is not configured correctly for mime_content_type() to work.
Looking at php.net it appears mime_content_type() is deprecated and it is now recommended to use Fileinfo. Check this thread for installation instructions on Ubuntu. http://ubuntuforums.org/showthread.php?t=722373