php-doc-en/reference/mime_magic/configure.xml

42 lines
1.1 KiB
XML
Raw Normal View History

<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $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 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
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:1
sgml-indent-data:t
indent-tabs-mode:nil
sgml-parent-document:nil
sgml-default-dtd-file:"../../../manual.ced"
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
-->