Skip to content

Instantly share code, notes, and snippets.

@nntoan
Forked from bearlikelion/hhvm.hdf
Last active August 29, 2015 14:20
Show Gist options
  • Save nntoan/f62149095bb113b32bcb to your computer and use it in GitHub Desktop.
Save nntoan/f62149095bb113b32bcb to your computer and use it in GitHub Desktop.
# 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