diff options
author | B. Watson <yalhcru@gmail.com> | 2020-10-13 00:17:14 -0400 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2020-10-17 09:39:12 +0700 |
commit | f44f2f76793e6134d4fd7e9416a89fa3a4ae405a (patch) | |
tree | b8e78aba957dcac99303bc3a1053a040c64c362a /development/hhvm/README | |
parent | 301a2bc8996faab235001f7b6e2ad4584868c3d6 (diff) | |
download | slackbuilds-f44f2f76793e6134d4fd7e9416a89fa3a4ae405a.tar.gz |
development/hhvm: Fix README.
Signed-off-by: B. Watson <yalhcru@gmail.com>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'development/hhvm/README')
-rw-r--r-- | development/hhvm/README | 32 |
1 files changed, 19 insertions, 13 deletions
diff --git a/development/hhvm/README b/development/hhvm/README index 99d324c7e4..549f5542b3 100644 --- a/development/hhvm/README +++ b/development/hhvm/README @@ -1,7 +1,7 @@ -HHVM is an open-source virtual machine designed for executing -programs written in Hack and PHP. HHVM uses a just-in-time (JIT) -compilation approach to achieve superior performance while maintaining -the development flexibility that PHP provides. +HHVM is an open-source virtual machine designed for executing programs +written in Hack and PHP. HHVM uses a just-in-time (JIT) compilation +approach to achieve superior performance while maintaining the +development flexibility that PHP provides. Hack is a programming language for HHVM. Hack reconciles the fast development cycle of a dynamically typed language with the discipline @@ -29,25 +29,31 @@ your rc.d scripts: /etc/rc.d/rc.hhvm stop fi -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. +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, 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: -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: http://docs.hhvm.com/manual/en/install.hack.bootstrapping.php -Basically you create an empty .hhconfig file in the root dir of your project: +Basically you create an empty .hhconfig file in the root dir of your +project: + touch .hhconfig + and run: + hh_client Happy Hacking! |