php question

Miroslav Lachman 000.fbsd at
Tue Jul 18 10:45:46 UTC 2006

Chantal Rosmuller wrote:
>> I don't think mime_magic is php4 extension module. As I saw in php 
>> manual, mime functions is enabled in php compile time 
>> --with-mime-magic but FreeBSD port has not this as option.
>> Miroslav Lachman
> Hi Miroslav,
> thanks, do you have any idea how I can install it without breaking 
> dependencies or loosing the module every time I update php?

I don't have any good idea, only some not so good. You can edit 
/usr/ports/lang/php4/Makefile (or write patch which you can apply before 
every update)
Or you can contact php port maintainer (ale at and ask him to 
include support for mime_magic into lang/php4 or lang/php4-extensions

Miroslav Lachman

More information about the freebsd-apache mailing list