[imp] IMP4.0-BETA: problem installing fileinfo

Steve Lidie sol0 at Lehigh.EDU
Fri Nov 5 11:11:55 PST 2004


On Nov 5, 2004, at 2:03 PM, Stephen Braswell wrote:

> Hi Steve,
>
> When you install a PECL extension, you have to add it to your php.ini 
> so it gets loaded.
>
> Add the following line to your php.ini file to load the extension (I'm 
> assuming the extension is installed in the directory specified by the 
> 'extension_dir' option in php.ini).
>
> extension="fileinfo.so"
>
>
> After that, restart Apache.

Excellent, worked, many thanks for the primer. In fact, here's a 
INSTALL patch:

[root at imp4 docs]# cat INSTALL.patch1
--- INSTALL.orig        2004-11-05 14:07:56.275608078 -0500
+++ INSTALL     2004-11-05 14:08:58.026806682 -0500
@@ -292,6 +292,15 @@
     system as PEAR, so the configuration/setup is essentially identical 
to the
     PEAR instructions above.

+   When you install a PECL extension, you have to add it to your
+   php.ini so it gets loaded.  Add the following line to your php.ini
+   file to load the extension (I'm assuming the extension is installed 
in
+   the directory specified by the 'extension_dir' option in php.ini).
+
+     extension="fileinfo.so"
+
+   After that, restart Apache.
+
     These PECL modules are **RECOMMENDED** to be installed:

     a. fileinfo
[root at imp4 docs]#


>
>
> -Stephen
>
> -- On Friday, November 05, 2004 1:38 PM -0500, Steve Lidie 
> <sol0 at Lehigh.EDU> wrote:
>
>> I'm in the beginning phases of installing IMP 4 - I have some problems
>> reported via test.php, one of which is that I'm missing fileinfo.
>> Running a fresh install of Fedora Core 2.  So I'm using PHP/pear from 
>> the
>> Fedora install, and have done:
>>
>> pear config-set preferred_state beta
>> pear install fileinfo
>>
>> And it installed a new .so file. I restarted Apache and even restarted
>> the machine, but test.php still thinks fileinfo is not installed. Any
>> ideas as to why are much appreciated... using Horde 3 beta of course.
>>
>> thanks,
>>
>> Steve
> -- 
> IMP mailing list - Join the hunt: http://horde.org/bounties/#imp
> Frequently Asked Questions: http://horde.org/faq/
> To unsubscribe, mail: imp-unsubscribe at lists.horde.org



More information about the imp mailing list