ID:               27106
 Updated by:       [EMAIL PROTECTED]
 Reported By:      martin dot segatz at gmx dot net
-Status:           Open
+Status:           Bogus
 Bug Type:         *General Issues
 Operating System: Windows 2000 SP3/XP SP1
 PHP Version:      5CVS-2004-01-31 (dev)
 New Comment:

RTFM:

"The extension needs a copy of the simplified magic file that is
distributed with the Apache httpd."

And it works fine for me with the Apache provided file.



Previous Comments:
------------------------------------------------------------------------

[2004-01-31 09:56:21] martin dot segatz at gmx dot net

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 this bug report at http://bugs.php.net/?id=27106&edit=1

Reply via email to