Skip to content

Instantly share code, notes, and snippets.

@ahmadazimi
Last active January 26, 2017 12:18
Show Gist options
  • Save ahmadazimi/f2a31bd9d3b68fa80468 to your computer and use it in GitHub Desktop.
Save ahmadazimi/f2a31bd9d3b68fa80468 to your computer and use it in GitHub Desktop.
HHVM server.ini
; location: /etc/hhvm/server.ini
pid = /run/hhvm.pid
hhvm.server.ip = 127.0.0.1
hhvm.server.port = 9001
hhvm.server.type = fastcgi
hhvm.server.default_document = index.php
hhvm.source_root = /usr/share/nginx/html
hhvm.server.always_use_relative_path = false
hhvm.server.thread_count = 32
hhvm.resource_limit.max_socket = 65536
hhvm.error_handling.call_user_handler_on_fatals = true
hhvm.server.implicit_flush = true
hhvm.jit = true
hhvm.jit_a_size = 67108864
hhvm.jit_a_stubs_size = 22554432
hhvm.jit_global_data_size = 22554432
hhvm.mysql.typed_results = true
hhvm.server.connection_timeout_seconds = 500
hhvm.server.request_timeout_seconds = 500
max_execution_time = 500
; logging
hhvm.log.use_syslog = false
hhvm.log.use_log_file = true
hhvm.log.file = /var/log/hhvm/error.log
hhvm.log.level = Warning
hhvm.log.always_log_unhandled_exceptions = true
hhvm.log.runtime_error_reporting_level = 8191
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment