Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 117556 - no way to set --with-mime-magic for dev-lang/php
Summary: no way to set --with-mime-magic for dev-lang/php
Status: RESOLVED DUPLICATE of bug 108879
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-01-03 01:48 UTC by Jaco Kroon
Modified: 2006-01-03 02:06 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jaco Kroon 2006-01-03 01:48:15 UTC
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.
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-01-03 02:06:38 UTC

*** This bug has been marked as a duplicate of 108879 ***