[php-maint] Bug#357522: mime_magic warnings about application/x-awk

dean gaudet dean at arctic.org
Sat Mar 18 03:31:29 UTC 2006


another workaround is to make a copy of /usr/share/file/magic.mime, i 
called mine /usr/share/file/magic.mime.php4 ... then comment out the awk 
regex line...

then edit /etc/php4/apache/php.ini and somewhere in the [PHP] section add:

mime_magic.magicfile = "/usr/share/file/magic.mime.php4"

... it's a hack.

-dean




More information about the pkg-php-maint mailing list