hhvm icon indicating copy to clipboard operation
hhvm copied to clipboard

Enabling XHP on compiled HHVM

Open vefaliahmet opened this issue 12 years ago • 4 comments

I was compiled hhvm from source code. how can I enable xhp on hhvm? . I can not find any .ini file.

vefaliahmet avatar Nov 11 '14 21:11 vefaliahmet

If you're in hack code it's enabled. Otherwise add 'hhvm.enable_xhp=1' to /etc/hhvm/php.ini

fredemmott avatar Nov 11 '14 21:11 fredemmott

there is no exist hhvm folder under /etc . Because I built hhvm from source code not via package.

vefaliahmet avatar Nov 11 '14 21:11 vefaliahmet

So create one, or pass a -c flag to HHVM pointing to a different path.

simonwelsh avatar Nov 11 '14 22:11 simonwelsh

thank you.

vefaliahmet avatar Nov 12 '14 06:11 vefaliahmet