Mas Hey, I'm having issues running flarum with nginx, fastcgi and hhvm. http://128.199.228.155/community/ is unable to load and I receive the 500 server error however if I load http://128.199.228.155/index.nginx-debian.html it will load all fine. Error log output for nginx: Access log output for nginx: Thanks.
luceos You're running Nginx with HHVM, I don't think Flarum is compatible with HHVM yet, although recent unit tests say it does: https://travis-ci.org/flarum/core/jobs/102741473 The nginx error indicates that the upstream (hhvm) crashes. You might get a better error from the hhvm error log.
Mas luceos You're spot on. My HHVM log is below: If @Toby or @Franz could confirm if HHVM is fully compatible with Flarum that'd be fantastic. Also just wondering if PHP 7 is compatible as well?
Kulga Mas Also just wondering if PHP 7 is compatible as well? Not yet https://github.com/flarum/core/issues/685
Franz Mas This issue was fixed about a month ago. So you should either upgrade to the latest dev version or wait for our next beta release. 🙂
Mas Kulga Cheers for clearing that up! I hope there is a fix to the HHVM issue above while PHP 7 compatibility is in development!
Kulga Mas Feel free to checkout my dev version https://discuss.flarum.org/d/697-test-out-flarum http://devflarum.xyzz.work/ As a alternative, I've written a script that automates the whole process of keeping it up to date. I wouldn't recommend just running it - but perhaps examining it may explain how to keep it updated or setup a dev environment. As for official documentation. You will likely need to modify the default composer.json file to something specified here but that may change.