#18307 closed defect (fixed)
php5-devel: unknown configure option --with-mime-magic
Reported by: | ryandesign (Ryan Carsten Schmidt) | Owned by: | ryandesign (Ryan Carsten Schmidt) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.7.0 |
Keywords: | Cc: | jyrkiwahlstedt | |
Port: | php5-devel |
Description
php5-devel uses the configure option "--with-mime-magic
" but the configure script complains that this is not known:
Thank you for using PHP. Notice: Following unknown configure options were used: --with-xml --with-mime-magic Check './configure --help' for available options
(The unknown "--with-xml
" option is filed separately in #14859.)
The documentation for mime-magic still shows --with-mime-magic
as a valid option.
The NEWS file says that in php 5.3.0alpha1 the PECL module fileinfo was brought into the php source tree as a replacement for mime-magic. The documentation for fileinfo says it's on by default so we don't need to add a configure argument for it.
5.3.0alpha1 still accepted the --with-mime-magic
switch but 5.3.0alpha3 and 5.3.0beta1 no longer do. (MacPorts never had 5.3.0alpha2 so I did not test that version.)
Change History (4)
comment:1 Changed 16 years ago by ryandesign (Ryan Carsten Schmidt)
Status: | new → assigned |
---|
comment:2 Changed 16 years ago by ryandesign (Ryan Carsten Schmidt)
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Removed --with-mime-magic
in r46473.
comment:4 Changed 15 years ago by ryandesign (Ryan Carsten Schmidt)
Removed from php5 as well in r53563 now that it has been updated to 5.3.0.
Replying to ryandesign@…:
I filed php bug 47262 to have the documentation updated.