Created
February 1, 2014 21:01
-
-
Save jslatts/8758791 to your computer and use it in GitHub Desktop.
config.hdf for drupal + hhvm
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Log { | |
Level = Error | |
NoSilencer = false | |
AlwaysLogUnhandledExceptions = true | |
RuntimeErrorReportingLevel = 8191 | |
Header = false | |
InjectedStackTrace = true | |
NativeStackTrace = true | |
MaxMessagesPerRequest = -1 | |
# error log settings | |
UseLogFile = true | |
File = /opt/mp7_core/hhvm.log | |
Access { | |
* { | |
File = /var/log/hhvm/access.log | |
Format = %h %l %u %t \"%r\" %>s %b | |
} | |
} | |
# enable or disable hphp_log() that can be called from PHP code | |
ApplicationLog = true | |
} | |
ErrorHandling { | |
CallUserHandlerOnFatals = true | |
NoInfiniteLoopDetection = false | |
NoInfiniteRecursionDetection = false | |
MaxStackDepth = 1000 | |
ThrowBadTypeExceptions = false | |
ThrowNotices = false | |
NoticeFrequency = 1 # 1 out of these many notices to log | |
WarningFrequency = 1 # 1 out of these many warnings to log | |
AssertActive = false | |
AssertWarning = false | |
} | |
Server { | |
Host = seattle.localhost | |
IP = 0.0.0.0 | |
Port = 80 | |
ThreadCount = 50 | |
SourceRoot = /opt/mp7_core | |
DefaultDocument = index.php | |
} | |
VirtualHost { | |
* { | |
Pattern = .* | |
ServerVariables { | |
PHP_SELF = /index.php | |
SCRIPT_NAME = /index.php | |
} | |
RewriteRules { | |
index { | |
pattern = ^(.*)$ | |
to = index.php/$1 | |
qsa = true | |
} | |
} | |
} | |
} | |
StaticFile { | |
FilesMatch { | |
* { | |
pattern = .*\.(dll|exe) | |
headers { | |
* = Content-Disposition: attachment | |
} | |
} | |
} | |
Extensions { | |
css = text/css | |
gif = image/gif | |
html = text/html | |
jpe = image/jpeg | |
jpeg = image/jpeg | |
jpg = image/jpeg | |
png = image/png | |
tif = image/tiff | |
tiff = image/tiff | |
txt = text/plain | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment