hhvm icon indicating copy to clipboard operation
hhvm copied to clipboard

hhvm runtime options wiki page needs updates

Open procurity opened this issue 12 years ago • 7 comments

I followed what described in https://github.com/facebook/hhvm/wiki/runtime-options#sandbox-environment, but I can't cause hphpd to break on requests to my sandbox. Since we've replaced hdf with ini file, I've also changed server.ini to something like below.

hhvm.Sandbox.SandboxMode = true hhvm.Sandbox.Pattern = sb-sb.example.com hhvm.Sandbox.Home = '/home' hhvm.Sandbox.ConfFile = '.hphp'

hhvm.Eval.Debugger.EnableDebugger = true hhvm.Eval.Debugger.EnableDebuggerServer = true hhvm.Eval.Debugger.Port = 8089

procurity avatar Jun 07 '14 20:06 procurity

can somebody provide some instructions on setting up sandbox debugger?

procurity avatar Jun 08 '14 07:06 procurity

In an HDF file it would be Sandbox.SandboxMode - in ini, it's hhvm.sandbox.sandbox_mode; see https://github.com/facebook/hhvm/wiki/INI%20Settings

fredemmott avatar Jun 30 '14 20:06 fredemmott

fredemmott, does it work for you?

procurity avatar Jul 06 '14 05:07 procurity

@fredemmott, I did what is described in INI.settings, but it never caused my hphpd to run.

procurity avatar Jul 06 '14 05:07 procurity

What version of HHVM are you running? Until very recently, HDF was the only way those could be set.

fredemmott avatar Jul 07 '14 16:07 fredemmott

@prognew I'd appreciate it if you didn't go and empty that wiki page just because it doesn't work for you.

HRMsimon avatar Jul 08 '14 02:07 HRMsimon

New documentation has this.

Orvid avatar Mar 16 '16 00:03 Orvid