ID: 22912 Updated by: [EMAIL PROTECTED] Reported By: magz at bop dot nu -Status: Open +Status: Closed Bug Type: Documentation problem Operating System: Redhat 7.3 PHP Version: 4.3.2RC1 New Comment:
This bug has been fixed in CVS. In case this was a PHP problem, snapshots of the sources are packaged every three hours; this change will be in the next snapshot. You can grab the snapshot at http://snaps.php.net/. In case this was a documentation problem, the fix will show up soon at http://www.php.net/manual/. In case this was a PHP.net website problem, the change will show up on the PHP.net site and on the mirror sites in short time. Thank you for the report, and for helping us make PHP better. Previous Comments: ------------------------------------------------------------------------ [2003-03-27 11:56:00] [EMAIL PROTECTED] Reclassified, reopened, summary update. Should be noted that it can only handle simplified magic files. ------------------------------------------------------------------------ [2003-03-27 09:40:43] magz at bop dot nu Perhaps the online manual (http://www.php.net/manual/en/ref.mime-magic.php) should be updated with this information as well before 4.3.2 is being released. ------------------------------------------------------------------------ [2003-03-27 09:26:23] [EMAIL PROTECTED] And like Moriyoshi already pointed out, the extension only works with the simplified magic file that comes with Apache. ------------------------------------------------------------------------ [2003-03-27 09:25:39] [EMAIL PROTECTED] Doing ./configure --help would have helped: --with-mime-magic[=FILE] Include mime_magic support. FILE is the optional pathname to the magic.mime file. (it's not --enable anymore) ------------------------------------------------------------------------ [2003-03-27 08:45:02] magz at bop dot nu I got the same result with php4-STABLE-200303271430. [EMAIL PROTECTED] php4-STABLE-200303271430]# slocate magic.mime /usr/share/magic.mime [EMAIL PROTECTED] misc]# slocate magic.mime /usr/share/misc/magic.mime /usr/share/magic.mime /usr/share/magic.mime.mgc (darkwing=Redhat7.2, x220=Redhat7.3) Doesn't 4.3.1 and 4.3.2 look for the same magic.mime file? Should I specify another magic-file, and if so, how? (I suppose ./configure doesn't look in /etc/php.ini?) ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/22912 -- Edit this bug report at http://bugs.php.net/?id=22912&edit=1 -- PHP Documentation Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php