#27106 [NEW]: PHP doesn't accept own magic.mime file
| From: | martin dot segatz at gmx dot net | Date: | Sat, 31 Jan 2004 14:56:21 +0000 |
| Subject: | #27106 [NEW]: PHP doesn't accept own magic.mime file | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-54209@lists.php.net to get a copy of this message | ||
From: martin dot segatz at gmx dot net
Operating system: Windows 2000 SP3/XP SP1
PHP version: 5CVS-2004-01-31 (dev)
PHP Bug Type: *General Issues
Bug description: PHP doesn't accept own magic.mime file
Description:
------------
PHP doesn't accept the bundeled magic.mime file but the Apache magic
file.
Tested with latest Win32 CVS build (200401311130) on Windows 2000 SP3 and
Windows XP SP1
PHP 5.0.0b3 doesn't accept either one but the snapshot accepts the Apache
file.
Reproduce code:
---------------
-- php.ini
mime_magic.magicfile = "/path/to/bundeled/magic.mime"
-- code
<?php
phpinfo();
?>
Expected result:
----------------
mime_magic
mime_magic support => enabled
Actual result:
--------------
mime_magic
mime_magic support => invalid magic file, disabled
--
Edit bug report at http://bugs.php.net/?id=27106&edit=1
--
Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=27106&r=trysnapshot4
Try a CVS snapshot (php5): http://bugs.php.net/fix.php?id=27106&r=trysnapshot5
Fixed in CVS: http://bugs.php.net/fix.php?id=27106&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=27106&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=27106&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=27106&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=27106&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=27106&r=support
Expected behavior: http://bugs.php.net/fix.php?id=27106&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=27106&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=27106&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=27106&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=27106&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=27106&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=27106&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=27106&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=27106&r=float