[cvs] [Wiki] changed: MimeMagic

Wiki Guest wiki at wiki.horde.org
Sun Jul 3 06:35:24 PDT 2005


guest [213.47.195.54]  Sun, 03 Jul 2005 06:35:24 -0700

Modified page: http://wiki.horde.org/MimeMagic
New Revision:  1.3
Change log:  Steps for Fedora Core 4

@@ -33,6 +33,31 @@
 PHP Warning:  fileinfo:  Unable to register functions, unable to load in Unknown on line 0
 [Sat May 21 00:57:42 2005] [notice] Apache/2.0.46 (Red Hat) configured -- resuming normal operations
 </code>
 Request for anyone who has done the above in a proper way, do share and modify what needs to be done right.
+
+------------------------------------------------------------------------------------------------------------------------------------------------------------------------
+
+For Fedora Core 4, do the following:
+
+1. {{yum install php-devel}}
+2. {{pear install fileinfo}}
+3. Add the following in {{php.ini}}
+<code>
+;Magic mime time
+mime_magic.magicfile = "/usr/share/file/magic.mime"
+
+extension=fileinfo.so
+
+;;;;
+; Note: For Red Hat Linux, packaged extension modules are now loaded via
+; the ini files in the directory /etc/php.d.
+;;;;
+</code>
+so also add in {{/etc/php.d/fileinfo.ini}}
+<code>
+extension=fileinfo.so
+</code>
+4. restart apache and check {{/horde/test.php}}. At this point I got MIME Magic Support: Yes
+
 
 Jigish.gohil at gmail dot com


More information about the cvs mailing list