majidarif majidarif - 1 year ago 74
PHP Question

Reverting back to PHP from HHVM

How can I revert back to PHP from HHVM.

I know that moving from php to hhvm you only need to:

$ sudo /usr/bin/update-alternatives --install /usr/bin/php php /usr/bin/hhvm 60

How about if I wanted to revert back to php?

$ php -v
HipHop VM 3.0.0 (rel)
Compiler: tags/HHVM-3.0.0-0-g59a8db46e4ebf5cfd205fadc12e27a9903fb7aae
Repo schema: 48906efe08d29a403bbe13414f32ccd256708e0b

Can is just execute a
command to point to the original php?

Answer Source

According to the manual

sudo /usr/bin/update-alternatives --config php

Will ask you which version to use.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download