• Inviting everyone who uses WordPress management tools in Plesk
    The Plesk team is conducting a 60-minute research session that includes an interview and a moderated usability test.
    To participate, please use this link .
    Your experience will help shape product decisions and ensure the tools better support real-world use cases.

Php fileinfo and magic file (Plesk v10.4)

runtim23

Basic Pleskian
I couldn't get my fileinfo to work on my install though it was working fine on v9.
All of my scripts using finfo reference /usr/share/file/magic for the magic file but I had to use
/usr/share/misc/magic.mgc to get this to work. When I look at this file all I see is a bunch of Quake game information.
Can somebody please explain to me why this works, how I was supposed to know this would work, and if I should be doing something different to get this to work? I've already tried reinstalling the file-devel libs with no luck.
 
Back
Top