diff options
Diffstat (limited to 'development/hhvm/README')
-rw-r--r-- | development/hhvm/README | 19 |
1 files changed, 11 insertions, 8 deletions
diff --git a/development/hhvm/README b/development/hhvm/README index 44cf62b0615cc..99d324c7e4de1 100644 --- a/development/hhvm/README +++ b/development/hhvm/README @@ -13,7 +13,7 @@ current plans to ever add support. In order to start HHVM at boot and stop it properly at shutdown, make sure rc.hhvm is executable and add the following lines to -the following files: +your rc.d scripts: /etc/rc.d/rc.local ================== @@ -29,14 +29,17 @@ the following files: /etc/rc.d/rc.hhvm stop fi -Default HHVM configuration uses Unix sockets. If you don't use Apache -make sure that your web server has write access to the socket file. You -can create a new group and add your web server user to this group or -just use the main group of your web server and start HHVM as following: - hhvm_GROUP=apache /etc/rc.d/rc.hhvm start +HHVM ships an integrated web server, proxygen, which listens on port 9000 +(though you can configure proxygen to make use of a different port): +https://docs.hhvm.com/hhvm/basic-usage/proxygen. -Alternatively to reverse proxy, you can use FastCGI: -https://docs.hhvm.com/hhvm/advanced-usage/fastCGI. +Alternatively to reverse proxy, FastCGI is available, which uses Unix sockets +by default. If your web server isn't Apache make sure it has write access to +the socket file. You can create a new group and add your web server user to +this group or just use the main group of your web server and start HHVM as +following: + hhvm_GROUP=apache /etc/rc.d/rc.hhvm start +See https://docs.hhvm.com/hhvm/advanced-usage/fastCGI. To start a project you have to configure the type checker as well. See the official documentation: |