Re: fileinfo on RHEL5

From: Date: Wed, 13 May 2009 17:34:49 +0000
Subject: Re: fileinfo on RHEL5
References: 1 2 3 4 5 6  Groups: php.general 
Request: Send a blank email to php-general+get-292548@lists.php.net to get a copy of this message
Thodoris wrote:
fileinfo.so is, indeed, in /usr/lib/php/modules. But I know it's enabled, in any case. So, anyone know if this extension doesn't work well with 5.1.6?
Well you could enable the error messages to see what is going wrong. The $type var is probably empty because the instantiation of the $fi object fails for some reason.
If the instantiation fails, I should see "Fatal error: Call to a member function on a non-object" I would think. As it turns out, this was all due to open_basedir not having the path /usr/share/file included. All is good. Thanks for your help.

« previous php.general (#292548) next »