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.

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to