Hi, I encountered this errors myself, and crated a patch for magic.mime to remove all the lines that PHP (5.2.14) complained about.
Enjoy Lior Kaplan Zend Technologies Ltd.
--- /tmp/magic.mime 2010-08-22 16:29:16.000000000 +0300 +++ /tmp/magic.mime.clean 2010-08-22 16:42:38.000000000 +0300 @@ -64,7 +64,6 @@ #audio/x-tracker-module ##>17 string >\0 Title: "%s" -21 string/c \!SCREAM! audio/x-mod #audio/x-screamtracker-module 21 string BMOD2STM audio/x-mod #audio/x-screamtracker-module @@ -119,7 +118,6 @@ # svg -38 string \<\!DOCTYPE\040svg image/svg+xml 0 belong 0xfeedfeed application/x-java-keystore @@ -208,7 +206,6 @@ 0 string RIFF # - WAVE format >8 string WAVE audio/x-wav ->8 string/B AVI video/x-msvideo # >8 string CDRA image/x-coreldraw @@ -318,8 +315,6 @@ # Type: Lua scripting language # URL: http://www.lua.org/ # From: Reuben Thomas <[email protected]> -0 string/B #!\ /usr/bin/lua application/x-lua -0 string/B #!\ /usr/local/bin/lua application/x-lua 0 string #!/usr/bin/env\ lua application/x-lua 0 string #!\ /usr/bin/env\ lua application/x-lua @@ -440,12 +435,7 @@ # # from Michael Piefel <[email protected]> # -0 string/cB \<!DOCTYPE\ html text/html -0 string/cb \<head text/html -0 string/cb \<title text/html -0 string/bc \<html text/html 0 string \<!-- text/html -0 string/c \<h1 text/html #------------------------------------------------------------------------------ # images: file(1) magic for image formats (see also "c-lang" for XPM bitmaps) @@ -627,17 +617,10 @@ 0 string {\\rtf text/rtf # TeX documents, from Daniel Quinlan ([email protected]) -0 search/400 \\input text/x-tex -0 search/400 \\section text/x-tex -0 search/400 \\setlength text/x-tex -0 search/400 \\documentstyle text/x-tex -0 search/400 \\chapter text/x-tex -0 search/400 \\documentclass text/x-tex # Type: Inform interactive fiction language # URL: http://www.inform-fiction.org/ # From: Reuben Thomas <[email protected]> -0 regex [Cc]onstant[[:space:]]+[Ss]tory text/x-inform #------------------------------------------------------------------------------ # animation: file(1) magic for animation/movie formats @@ -672,18 +655,13 @@ 4 string idsc image/x-quicktime 4 string idat image/x-quicktime 4 string pckg application/x-quicktime-player -4 string/B jP image/jp2 4 string ftyp >8 string isom video/mp4 >8 string mp41 video/mp4 >8 string mp42 video/mp4 ->8 string/B jp2 image/jp2 >8 string 3gp video/3gpp >8 string avc1 video/3gpp >8 string mmp4 video/mp4 ->8 string/B M4A audio/mp4 ->8 string/B M4V video/mp4 ->8 string/B qt video/quicktime # The contributor claims: # I couldn't find a real magic number for these, however, this # -appears- to work. Note that it might catch other files, too, @@ -1007,7 +985,6 @@ # From: Won-Kyu Park <[email protected]> 512 string R\0o\0o\0t\0 application/x-hwp -0 string/c BEGIN:VCARD text/x-vcard 0 string WordPro\0 application/vnd.lotus-wordpro 0 string WordPro\r\373 application/vnd.lotus-wordpro 0 string CPC\262 image/x-cpi @@ -1019,7 +996,6 @@ 8 lelong 0x10000419 application/vnd.symbian.install 0 lelong 0x10201A7A x-epoc/x-sisx-app # FORTRAN source -0 string/c c\ text/x-fortran # Gnumeric spreadsheet # This entry is only semi-helpful, as Gnumeric compresses its files, so

