Skip to content

Instantly share code, notes, and snippets.

@Majkl578
Created December 16, 2013 10:00
Show Gist options
  • Save Majkl578/7984710 to your computer and use it in GitHub Desktop.
Save Majkl578/7984710 to your computer and use it in GitHub Desktop.
Nette config for HHVM
Server {
Port = 8888
SourceRoot = /www/nette-app/www
DefaultDocument = index.php
}
VirtualHost {
* {
Pattern = .*
ServerVariables {
PHP_SELF = /index.php
SCRIPT_NAME = /index.php
}
RewriteRules {
index {
pattern = ^(.*)$
to = index.php
qsa = true
}
}
}
}
$ hhvm -m server -c nette.hdf
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment