Skip to content
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

Request: HHVM #51

Open
LimeBlast opened this issue Jan 30, 2014 · 4 comments
Open

Request: HHVM #51

LimeBlast opened this issue Jan 30, 2014 · 4 comments

Comments

@LimeBlast
Copy link

Do you think you can bake some support for HHVM into the box?

I'm not sure that it is a suitable alternative to PHP for anything accessed via the web interface/apache - but I've heard that it is really fast for running CLI stuff.

It could be good to have as an alternative to the php command via the CLI, allowing for commands to be run via hhvm artisan migrate (or whatever)

Just a thought :)

@bryannielsen
Copy link
Owner

Yea I think this is a great idea, I'll try to set some time aside to get this added and tested with the box :-)

@LimeBlast
Copy link
Author

Cool, thank you. I think it also works well with things like composer update, etc..

@andheiberg
Copy link
Contributor

Is this in the works, or should I take a stab at it?

I think it should be as easy as installing hhvm with apt

@andheiberg
Copy link
Contributor

I ended up ripping out most of this repos stuff, so I won't bother to setup a new project and commit this, but hhvm can easily be setup on ubuntu like this.

class hhvm {

  if(!defined(Package['apt'])) {
    package { 'apt':
      ensure => present,
    }
  }

  include apt

  apt::key { 'hhvm':
    key_source => 'http://dl.hhvm.com/conf/hhvm.gpg.key',
  }

  apt::source { 'hhvm':
    location    => 'http://dl.hhvm.com/ubuntu',
    release     => 'precise',
    repos       => 'main',
    include_src => false,
  }

  package { 'hhvm':
    ensure => 'present',
    require  => Exec['apt_update'],
  }

}

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

No branches or pull requests

3 participants