Skip to content

Remove wget #1691

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Jun 19, 2015
Merged

Remove wget #1691

merged 4 commits into from
Jun 19, 2015

Conversation

msmith-techempower
Copy link
Member

wget was failing to work on a number of https urls for older-than-ubuntu14 systems because it would attempt to use SSLv3 as the handshake, get turned down, and fail.

After attempting a number of options to fix wget, I fell back on using curl instead. It was just easier.

@@ -15,5 +15,5 @@ sed -i 's|/home/vagrant/FrameworkBenchmarks/installs/nginx/|'"${IROOT}"'/nginx/|

export PATH="${PHP_HOME}/bin:${PHP_HOME}/sbin:$PATH"

hhvm --config $TROOT/deploy/config.hdf --user $(whoami) -m daemon
hhvm -m daemon --config $TROOT/deploy/config.hdf --user $(whoami)
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just so we have some explanation on this SOMEWHERE: this was an annoying fix to hhvm simply ignoring input flags because of an incorrect order and STILL starting up but binding to completely different ports as a completely different user.

When -m daemon was at the end, hhvm would bind to 9000 as www-user regardless of the other flags (and this means that the sudo killall -s 9 -u testrunner wouldn't kill it after the tests ran and failed... so other tests couldn't bind to port 9000 and they're report failure too - dropwizard, etc), but moving it to the first argument (hint: not an argument, apparently) fixes this.

SO ANNOYING!!!

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How about a note on the PHP readme about this

msmith-techempower added a commit that referenced this pull request Jun 19, 2015
@msmith-techempower msmith-techempower merged commit c28f086 into master Jun 19, 2015
@msmith-techempower msmith-techempower deleted the remove-wget branch June 19, 2015 16:06
@hamiltont
Copy link
Contributor

LGTM!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants