mozilla-l10n/langchecker

'/usr/share/file/magic' doesn’t work on Mac and homebrew

Closed this issue · 7 comments

Error in the PHP server logs: https://pastebin.mozilla.org/8965227

This is interesting. I set up langchecker on Mac, using the internal PHP web server, but I don't get any error and everything works out of the box.

Do you have a /usr/share/file/magic folder on your Mac?

weird… I do have this folder, yes (and it’s loaded with stuff). Are you on 10.12.2 too?

I've tested on 10.11.6 (15G1212), I can try 10.12.2 later

Also, are you using php internal server or apache?

using internal PHP server 7.0.14, installed via homebrew. Maybe a homebrew related nonsense?

Definitely. I'm using the default php

$ php --version
PHP 5.5.38 (cli) (built: Aug 21 2016 21:48:49)
Copyright (c) 1997-2015 The PHP Group
Zend Engine v2.5.0, Copyright (c) 1998-2015 Zend Technologies

I can give it a try with homebrew.

I think you're hitting
https://bugs.php.net/bug.php?id=66885

Trying to figure out if we can at least not die like that