Help? PHP configure --enable-......

Rob Brandt yellowdog-general@lists.terrasoftsolutions.com
Mon Jan 13 13:24:01 2003


Hello everyone;

I'm hoping that I can get someone to help me with a problem
compiling an option into php.  I've asked on many different lists,
including the php-install support list, with no responses at all. 
I'm beginning to believe that this is an obscure issue that many
admins are not familiar with, and I'm hoping I can get someone
here more knowledgeable than myself to provide some basic answers.

The option I need to enable is 'mime-magic'.  The manual at
php.net says that to enable this function you need to configure
with --enable-mime-magic, and that you need to have a file on your
system called magic.mime with a setting in php.ini pointing to it,
such as

mime_magic.magicfile = "/usr/share/misc/magic.mime"

I've done all of that countless times, even upgraded my php to
4.23, with no results.  Also verified the existence and location
of magic.mime.  Supposedly there will be a section in phpinfo()
for Mime Magic listing it's settings when all is well.  No luck
there.

So I'm trying to figure out what's wrong.  I've not been able to
find anyone who will tell me if a seperate extension file is
needed for this option (like what is needed in mysql.so for
MySQL).  I certainly do not have one on my system.  I've googled
looking for one too, with no luck.

Can anyone assit me with this?

Thanks

Rob