summaryrefslogtreecommitdiffstats
path: root/development/hhvm
diff options
context:
space:
mode:
author B. Watson2016-11-14 20:04:12 +0100
committer Willy Sudiarto Raharjo2016-11-15 15:41:38 +0100
commitd4e32649c36b8c55f3fdb0e622d317d16ada71ce (patch)
treec5626111bca3de2a6cdf016bd608b81bb31a702f /development/hhvm
parent509ef973f21f11133983b5f87b5237e5b1940b05 (diff)
downloadslackbuilds-d4e32649c36b8c55f3fdb0e622d317d16ada71ce.tar.gz
development/hhvm: Fix README.
Diffstat (limited to 'development/hhvm')
-rw-r--r--development/hhvm/README48
1 files changed, 25 insertions, 23 deletions
diff --git a/development/hhvm/README b/development/hhvm/README
index 4d72d13f81..54fc6de8f7 100644
--- a/development/hhvm/README
+++ b/development/hhvm/README
@@ -15,34 +15,36 @@ 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:
- /etc/rc.d/rc.local
- ==================
- # Startup HHVM
- if [ -x /etc/rc.d/rc.hhvm ]; then
- /etc/rc.d/rc.hhvm start
- fi
-
- /etc/rc.d/rc.local_shutdown
- ===========================
- # Stop HHVM
- if [ -x /etc/rc.d/rc.hhvm ]; then
- /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
+ /etc/rc.d/rc.local
+ ==================
+ # Startup HHVM
+ if [ -x /etc/rc.d/rc.hhvm ]; then
+ /etc/rc.d/rc.hhvm start
+ fi
+
+ /etc/rc.d/rc.local_shutdown
+ ===========================
+ # Stop HHVM
+ if [ -x /etc/rc.d/rc.hhvm ]; then
+ /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
FastCGI must be configured to communicate with HHVM.
A good start point is: https://github.com/facebook/hhvm/wiki/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 directory of your project:
- touch .hhconfig
+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:
+ touch .hhconfig
and run:
- hh_client
+ hh_client
Happy Hacking!