mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 00:48:54 +00:00
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@121797 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
bf707a4c91
commit
b0f6477bc4
1 changed files with 11 additions and 6 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue