-
Notifications
You must be signed in to change notification settings - Fork 114
Don't use HHVM to run box as it gets rejected #184
Conversation
This solution worked great! Thanks. However, HHVM seems to have some issues getting the output of the executed commands:
|
actually, it seems to have some issues with the phar. Here is what the binary string contains when decoding it: https://3v4l.org/4pBfp |
I found the issue. It is here: Line 22 in eb4ba7a
HHVM does not support compressed phars: facebook/hhvm#4263 this is the reason why Composer does not use compression for its phar for instance. |
and this means we should either stop using compression or stop testing on HHVM and marking it as unsupported |
To be completely honest, I always remove the compression configuration in my computer because otherwise I get this error:
|
Just for the record, this is the size of each version:
My vote is for keeping it compressed and dropping support for HHVM (which we never claimed in the first place). But I'd like to read other opinions. |
Actually this is just an installer, it does not matter to me that it's 200KB or 600KB, it's a single file used once in an environment. |
@javiereguiluz does this mean the installer wouldn't work for people on hhvm machines? Or just that the installer phar couldn't be created on an hhvm machine? |
@weaverryan the installer won't work on HHVM machines. To be honest, I don't consider this a problem at all:
|
My gut says "support it, the file size isn't a big deal". But, if we don't support hhvm and anyone uses it, we'll get bug reports and can change. I'm fine either way. |
I am fine with either way. Apparently, not many people tried to use it on HHVM right now or we would have received some complaints I bet. |
Closing it for now, because "worsening" the current PHP installer to support HHVM looks wrong to me. Let's wait for the launch of PHP 7 and we'll revisit this decision then. Thanks. |
This is an attempt at making the testsuite run on HHVM. We don't really care about running Box on each version, as we are not testing Box itself (the version being downloaded will not have been built with the same PHP version than the one you use when running the installer anyway)