I'm currently trying to use the mime_content_type function from a php script, but unfortunately I get the following error: Fatal error: Call to undefined function mime_content_type() in /path/to/my/php/file.php on line 74 Reading the documentation (http://docs.cs.up.ac.za/programming/html/php-manual/ref.mime-magic.html) it is revealed that php needs to be compiled with --with-mime-magic in order to obtain this function. I suggest making use of the mime USE flag to conditionally set pass this parameter for the configure line.
*** This bug has been marked as a duplicate of 108879 ***