Created
September 21, 2017 12:46
-
-
Save standa/f9925f5981e702de89120d49defc0c61 to your computer and use it in GitHub Desktop.
hhvm with proxygen
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
; DO NOT EDIT THIS FILE - put everything into server.ini | |
; AND CHECK tailf /var/log/hhvm/error. | |
; php options | |
session.save_handler = files | |
session.save_path = /var/lib/hhvm/sessions | |
session.gc_maxlifetime = 1440 | |
; hhvm specific. | |
hhvm.log.level = Verbose | |
hhvm.log.always_log_unhandled_exceptions = true | |
hhvm.log.runtime_error_reporting_level = 8191 | |
hhvm.mysql.typed_results = false |
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
$:/www/vasecocky_cz/public# hhvm -m server -c /etc/hhvm/server.ini -c /etc/hhvm/php.ini -vServer.AllowRunAsRoot=1 | |
# or simply | |
/etc/init.d/hhvm start |
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
; php options | |
pid = /var/run/hhvm/pid | |
; hhvm specific. | |
hhvm.server.port = 9000 | |
hhvm.server.type = proxygen | |
hhvm.server.default_document = index.php | |
hhvm.server.error_document404 = index.php | |
hhvm.log.use_log_file = true | |
hhvm.log.file = /var/log/hhvm/error.log | |
hhvm.repo.central.path = /var/cache/hhvm/hhvm.hhbc | |
hhvm.enable_xhp = true | |
hhvm.php7.all = true | |
hhvm.log.always_log_unhandled_exceptions = true | |
hhvm.server.source_root = /www/vasecocky_cz/public | |
hhvm.server_variables[ENVIRONMENT] = dev | |
display_errors = On | |
error_reporting = E_ALL |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment