Re: fileinfo on RHEL5

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux