Re: fileinfo problems
| From: | Gareth Ardron | Date: | Wed, 26 May 2004 14:10:12 +0000 |
| Subject: | Re: fileinfo problems | ||
| References: | 1 2 | Groups: | php.pecl.dev |
| Request: | Send a blank email to pecl-dev+get-696@lists.php.net to get a copy of this message | ||
On Wed, May 26, 2004 at 08:42:38AM -0400, Ilia Alshanetsky wrote:
> This is something fixed in the CVS version of fileinfo.
Thanks Ilia, I should've really gone through the backdated stuff first.
Next stupid question for today - I absolutly cannot get fileinfo reading the magic file properly.
Keep just getting this error instead:
Warning: finfo::finfo(): Failed to load magic database at '/etc/magic'. in
/usr/src/php-5.0.0RC2/ext/fileinfo/fileinfo.php on line 30
Now, I've tried magic files from 2 different linux distros, I've tried grabbing source and
recompiling libmagic, and yet I can't get it working.
Any chance somebody can point me in the direction of a "correct" file that it should be
able to read - and possibly add a url they can download it
from to the docs or something ?
Cheers,
--
Gareth