Skip to content

Conversation

@ddeboer
Copy link
Member

@ddeboer ddeboer commented May 17, 2014

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_PORT or something similar, in the latter case.

This fixes #58.

@ddeboer ddeboer changed the title Fix HHVM on Travis by using FastCGI instead of built-in webserver [WIP] Fix HHVM on Travis by using FastCGI instead of built-in webserver May 17, 2014
Copy link
Member

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 ?

Copy link
Member Author

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!

@stof
Copy link
Member

stof commented May 17, 2014

@ddeboer is it still a WIP or is it ready ?

@ddeboer
Copy link
Member Author

ddeboer commented May 17, 2014

Still WIP because of my question above:

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_PORT or something similar, in the latter case.

@stof
Copy link
Member

stof commented May 17, 2014

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).

@dbu
Copy link
Contributor

dbu commented May 17, 2014

yeah lets not have it in the listener. we also don't try to start apache for 5.3 in that listener.

@dbu dbu mentioned this pull request May 17, 2014
README.md Outdated
Copy link
Member Author

Choose a reason for hiding this comment

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

😉

@ddeboer ddeboer changed the title [WIP] Fix HHVM on Travis by using FastCGI instead of built-in webserver Fix HHVM on Travis by using FastCGI instead of built-in webserver May 18, 2014
Copy link
Member Author

Choose a reason for hiding this comment

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

😉

@ddeboer
Copy link
Member Author

ddeboer commented May 18, 2014

Ok, done. Have a look; this can be merged now.

dbu added a commit that referenced this pull request May 18, 2014
Fix HHVM on Travis by using FastCGI instead of built-in webserver
@dbu dbu merged commit e94e237 into master May 18, 2014
@dbu dbu deleted the hhvm-3 branch May 18, 2014 12:50
@dbu
Copy link
Contributor

dbu commented May 18, 2014

thanks

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.

Fix Travis config for HHVM

4 participants