cvs: phpdoc /en/reference/mime_magic configure.xml

From: Date: Mon, 09 Jun 2003 11:41:31 +0000
Subject: cvs: phpdoc /en/reference/mime_magic configure.xml
Groups: php.doc 
Request: Send a blank email to phpdoc+get-969354349@lists.php.net to get a copy of this message
betz Mon Jun 9 07:41:31 2003 EDT Modified files: /phpdoc/en/reference/mime_magic configure.xml Log: win32 needs magic.mime file set in php.ini Index: phpdoc/en/reference/mime_magic/configure.xml diff -u phpdoc/en/reference/mime_magic/configure.xml:1.4 phpdoc/en/reference/mime_magic/configure.xml:1.5 --- phpdoc/en/reference/mime_magic/configure.xml:1.4 Mon Mar 31 15:33:55 2003 +++ phpdoc/en/reference/mime_magic/configure.xml Mon Jun 9 07:41:31 2003 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.4 $ --> +<!-- $Revision: 1.5 $ --> <section id="mime-magic.installation"> &reftitle.install; <para> @@ -21,6 +21,24 @@ <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> + <note> + <title>Note to Win32 Users</title> + <para> + In order to use this module on a Windows environment, you must set the path + to the bundeld <filename>magic.mime</filename> file in your &php.ini;. + <example> + <title>Setting the path to <filename>magic.mime</filename></title> + <programlisting> + <![CDATA[ + mime_magic.magicfile ="$PHP_INSTALL_DIR\magic.mime" + ]]> + </programlisting> + </example> + Remember to substitute the <filename>$PHP_INSTALL_DIR</filename> for your actual + path to <literal>PHP</literal> in the above example. e.g. + <filename>c:\php</filename> </para> </note> </section>

« previous php.doc (#969354349) next »