[php-maint] etch->lenny upgrade changes (breaks) php fileinfo behavior

Mike Ashton mike at moo.com
Wed Jun 24 08:28:05 UTC 2009


On Tue, Jun 23, 2009 at 09:14:20PM +0200, sean finney wrote:
> hi mike,
> 
> On Tue, Jun 23, 2009 at 02:54:14PM +0100, Mike Ashton wrote:
> > Whilst testing our upgrade path from etch->lenny, we noticed it broke
> > our file uploader because the types of images changed from image/jpeg
> > (etc.) to application/octet-stream.  This in turn is because fileinfo
> > is looking in a different place for its magic files and useful (rich)
> > magic files don't exist on lenny in any of the chosen locations.
> 
> if you could, please open a bug report on this (preferably after
> checking for an existing bug) so that we can have this issue
> recorded. 

Thanks, Sean,

In a groan-worthy way, further investigation has shown that there
isn't a debian module for fileinfo after all, and it's a pecl
installation, so I can't in all honesty log that as a debian bug.

That said, as fileinfo is core php functionality in 5.3, it might be a
good idea if fileinfo _was_ a debian package in lenny in order to
manage this sort of thing.

At any rate, thanks for you help.
-- 
Mike Ashton
Network Infrastructure Manager
moo.com




More information about the pkg-php-maint mailing list