git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@121797 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Moriyoshi Koizumi 2003-03-31 19:38:04 +00:00
parent bf707a4c91
commit b0f6477bc4

View file

@ -1,16 +1,21 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.2 $ -->
<!-- $Revision: 1.3 $ -->
<section id="mime-magic.installation">
&reftitle.install;
<para>
You must compile PHP with the configure switch
<option role="configure">--with-mime-magic</option> to get support for
mime-type functions. The extension needs a copy of the
<filename>magic.mime</filename> as distributed with the
<filename>file</filename> command. This file also part of most recent Linux
distributions and usually stored in the <filename>/usr/share/misc</filename>
directory.
mime-type functions. The extension needs a copy of the simplified
<filename>magic</filename> file that is distributed with the Apache httpd.
</para>
<note>
<para>
This extension is not capable of handling the fully decorated
<filename>magic</filename> file that generally comes with
standard Linux distro's and is supposed to be used with
recent versions of <filename>file</filename> command.
</para>
</note>
</section>
<!-- Keep this comment at the end of the file