Hello,
After removing php5-cli from my system, I added the dapper repo to
lucid 10.04's sources, I installed php4-cli (call it a science
project) along with several of it's dependencies.
Every instance of executing the php cli binary, I received multiple
complaints about mime_magic and commenting out additional lines in /
usr/share/file/magic.mime, helped.
PHP Warning: mime_magic: type search/400 \\input text/x-tex invalid
in Unknown on line 0
PHP Warning: mime_magic: type search/400 \\section text/x-tex invalid
in Unknown on line 0
PHP Warning: mime_magic: type search/400 \\setlength text/x-tex
invalid in Unknown on line 0
PHP Warning: mime_magic: type search/400 \\documentstyle text/x-tex
invalid in Unknown on line 0
PHP Warning: mime_magic: type search/400 \\chapter text/x-tex invalid
in Unknown on line 0
PHP Warning: mime_magic: type search/400 \\documentclass text/x-tex
invalid in Unknown on line 0
PHP Warning: mime_magic: type regex [Cc]onstant[[:space:]]+[Ss]tory
text/x-inform invalid in Unknown on line 0
Comment These out:
# TeX documents, from Daniel Quinlan (quinlan [at] yggdrasil [dot] com)
#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 <r...@sc3d.org>
#0 regex [Cc]onstant[[:space:]]+[Ss]tory text/x-inform
Hope this helps someone.
Thanks,
Chris