Skip to content

Instantly share code, notes, and snippets.

@bearlikelion
Created April 2, 2014 12:39
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save bearlikelion/9933270 to your computer and use it in GitHub Desktop.
Save bearlikelion/9933270 to your computer and use it in GitHub Desktop.
Development HHVM config
# hhvm --mode daemon -vServer.Type=fastcgi -vServer.Port=9001 --config /etc/hhvm.hdf
PidFile = /var/run/hhvm.pid
ServerVariables {
ENVIRONMENT = DEVELOPMENT
}
Log {
UseLogFile = true
Level = Error
AlwaysLogUnhandledExceptions = true
File = /var/log/hhvm/error.log
Access {
* {
File = /var/log/hhvm/access.log
Format = %h %l %u %t \"%r\" %>s %b
}
}
}
Debug {
FullBacktrace = true
ServerStackTrace = true
ServerErrorMessage = true
TranslateSource = true
RecordInput = true
ClearInputOnSuccess = true
ProfilerOutputDir = /tmp
CoreDumpReport = true
}
ErrorHandling {
CallUserHandlerOnFatals = true
NoInfiniteLoopDetection = false
NoInfiniteRecursionDetection = false
ThrowBadTypeExceptions = true
NoticeFrequency = 1 # 1 out of these many notices to log
WarningFrequency = 1 # 1 out of these many warnings to log
AssertActive = true
AssertWarning = true
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment