# Doe anyone have a valid magic.mime file?

- Thread: https://externals.io/message/13443
- Original archive: https://news-web.php.net/php.internals/13443
- Started by Bjorn.Wiberg@its.uu.se on 2004-10-22T09:12:31+00:00
- Messages: 1
- Reply by email to internals@lists.php.net
- More for agents: search with https://externals.io/search.md?q={query} · JSON API at https://externals.io/api · documentation at https://externals.io/llms.txt

---

## #13443 — Bjorn.Wiberg@its.uu.se — 2004-10-22T09:12:31+00:00

URL: https://externals.io/message/13443#13443

Hi!

I've been trying to get mime_magic to work with PHP 5.0.2, but it seems to 
complain about the magic file being valid. I've tried both with the Apache 
2.0.52 version of "magic" and with the PHP5 Win32 version of "magic.mime", 
but it still says that they're invalid.

Does anyone have a magic.mime file which is known to be working with PHP 5 
on some variant of UNIX/Linux? If so, I'd very much appreciate getting a 
copy to try with.

Many thanks in advance!

Best regards,
Björn
