HHVM fallback to PHP7


#1

Is there any way to let HHVM fall back to PHP7, not PHP5?

Thanks


#2

You could edit upstream.conf

vim /etc/nginx/conf.d/upstream.conf

Change

upstream hhvm {
# HHVM Pool
server 127.0.0.1:8000;
server 127.0.0.1:9000 backup;
}

to

upstream hhvm {
# HHVM Pool
server 127.0.0.1:8000;
server 127.0.0.1:9070 backup;
}

Restart NGINX services

service nginx restart

Please Note: PHP7 is an experimental feature. Not heavily tested.


Some Help
#3

Thanks, that solved it.


#4