php5-sapi.eclass does not include the "--with-mime-magic=/usr/share/misc/file/magic.mime" configure switch, thus the mime_content_type() function is not available later. Reproducible: Always Steps to Reproduce: 1. emerge mod_php 5.0.0 2. render php page which uses mime_content_type() function 3. bang! Actual Results: Fatal error: Call to undefined function mime_content_type() in /opt/prukart/lib/card/document.php on line 195 Expected Results: rendered page
I've added support for a 'mime' USE flag to the various PHP ebuilds, which activates the support that you want. The updated eclass should be on your local rsync mirror in about an hour. Please test, and let me know how you get on. Best regards, Stu
the new mime useflag works perfectly. thanks!
Okay, thanks for the feedback! Best regards, Stu
Closing bug.