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

How about setting it to Feedback?
I RTFM and checked everything twice.

Tested again 5.0.0b3 and CVS on another WinXP that had never seen any
PHP version and there are the same problems.

       |  5b3 | 5CVS
-------+------+------
PHP    | FAIL | FAIL
-------+------+------
Apache | FAIL |  OK

Why is there a magic.mime bundeled with PHP when you can't use it?


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

[2004-01-31 23:19:45] [EMAIL PROTECTED]

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.


------------------------------------------------------------------------

[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