HHVM with php7.1-fpm as failover


This is my first post here. I know it will automatically install php5.6-fpm as failover for hhvm by using:

ee site create domain.com --wp --hhvm

But I want the failover using php7.1-fpm instead. So what I do are:

ee stack install --php7

And I tried to change it manually to replace php5.6-fpm by php7.1-fpm (copy php5.6-fpm config at /etc/php/5.6/fpm to /etc/php/7.1/fpm ) and I remove the php5.6-fpm service but my wordpress database unable to connect. Any solution how?

I think hhvm is going away, why not just run php7?

1 Like

May I know why you say so?

Search here for more info on it, I read the EE team was moving away from it because development has slowed on HHVM now that php7 was out.

I see. Thanks for your suggestion. Cheers!