#22912 [Fbk->Opn]: --enable-mime-magic won't activate mime_magic
| From: | magz at bop dot nu | Date: | Thu, 27 Mar 2003 14:45:04 +0000 |
| Subject: | #22912 [Fbk->Opn]: --enable-mime-magic won't activate mime_magic | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-36581@lists.php.net to get a copy of this message | ||
ID: 22912
User updated by: magz at bop dot nu
Reported By: magz at bop dot nu
-Status: Feedback
+Status: Open
Bug Type: *Compile Issues
Operating System: Redhat 7.3
PHP Version: 4.3.2RC1
New Comment:
I got the same result with php4-STABLE-200303271430.
[root@darkwing php4-STABLE-200303271430]# slocate magic.mime
/usr/share/magic.mime
[root@x220 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?)
Previous Comments:
------------------------------------------------------------------------
[2003-03-27 07:54:39] moriyoshi@php.net
Since mime magic extension is originally derived from mod_mime_magic of
Apache httpd project, it can only accept simplified magic files that
come with Apache distribution.
------------------------------------------------------------------------
[2003-03-27 07:49:35] iliaa@php.net
Please try using this CVS snapshot:
http://snaps.php.net/php4-STABLE-latest.tar.gz
For Windows:
http://snaps.php.net/win32/php4-win32-STABLE-latest.zip
Works just fine here... do you have any of the following files on your
system:
/usr/share/magic.mime /usr/share/misc/magic.mime /etc/magic.mime?
------------------------------------------------------------------------
[2003-03-26 17:14:28] magz at bop dot nu
It seems like I cannot get mime_magic to build with 4.3.2RC1. It does
work fine with 4.3.1. I have tried on 3 different machines running
Redhat 7.2/7.3 with the same result:
[root@darkwing php-4.3.2RC1]# ./configure --enable-mime-magic
..
checking whether to include mime_magic support... no
..
[root@darkwing php-4.3.1]# ./configure --enable-mime-magic
..
checking whether to include mime_magic support... yes
..
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=22912&edit=1