Package: php4-cli Version: 4.4.2-1 If I try to run a php script on console, then a warning message appears: PHP Warning: mime_magic: type regex BEGIN[[:space:]]*[{] application/x-awk invalid in Unknown on line 0 You can reproduce it like following samples: sample 1: server:~# php -v PHP Warning: mime_magic: type regex BEGIN[[:space:]]*[{] application/x-awk invalid in Unknown on line 0 PHP 4.4.2-1 (cli) (built: Jan 18 2006 12:33:46) Copyright (c) 1997-2006 The PHP Group Zend Engine v1.3.0, Copyright (c) 1998-2004 Zend Technologies sample 2: server:~# cat test.php #!/usr/bin/php4 -q <?php ?> server:~# ./test.php PHP Warning: mime_magic: type regex BEGIN[[:space:]]*[{] application/x-awk invalid in Unknown on line 0 sample 3: server:~# cat test.php <?php ?> server:~# php4 test.php PHP Warning: mime_magic: type regex BEGIN[[:space:]]*[{] application/x-awk invalid in Unknown on line 0
I am using Debian Testing, Kernel 2.6.13.1 (self compiled). The error was also reported in PHP Bug Database by an other debian user: http://bugs.php.net/bug.php?id=36915 Best regards Sven