-
Notifications
You must be signed in to change notification settings - Fork 61
Fix HHVM on Travis by using FastCGI instead of built-in webserver #65
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
Conversation
src/ProxyClient/VarnishCli.php
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
how is this class related to fixing the testsuite on HHVM ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Whoops, that class is related to the varnishamd implementation I'm working on. Nice catch, Christophe!
|
@ddeboer is it still a WIP or is it ready ? |
|
Still WIP because of my question above:
|
|
IMO, it should not be in the WebServerListener anymore as starting the CGI is only half of the actual work (you would have to also start the actual webserver in the listener otherwise, which seems insane). |
|
yeah lets not have it in the listener. we also don't try to start apache for 5.3 in that listener. |
README.md
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
😉
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
😉
|
Ok, done. Have a look; this can be merged now. |
Fix HHVM on Travis by using FastCGI instead of built-in webserver
|
thanks |
Tests are now fixed, but I hardcoded FastCGI port 9000 for now in WebServerListener. @dbu What do you think, should we remove HHVM from the WebServerListener as HHVM no longer has a built-in webserver? Or should we keep it in the listener and have it start the HHVM server on the CGI port? I think we need an extra PHPUnit constant,
CGI_PORTor something similar, in the latter case.This fixes #58.