diff options
author | Eugen Wissner <belka@caraus.de> | 2017-08-04 07:12:57 +0200 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2017-08-12 06:58:09 +0700 |
commit | c440125d1f2a1668992acf57641bd05f01dc3826 (patch) | |
tree | 48ea8951b4597078ef7fd5750ef55b7061f03492 /development | |
parent | 30646cfa168864aff82a4e808ace30951393747d (diff) |
development/hhvm: Updated for version 3.21.0
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'development')
-rw-r--r-- | development/hhvm/README | 19 | ||||
-rw-r--r-- | development/hhvm/etc/server.ini | 4 | ||||
-rw-r--r-- | development/hhvm/hhvm.SlackBuild | 2 | ||||
-rw-r--r-- | development/hhvm/hhvm.info | 6 |
4 files changed, 17 insertions, 14 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: diff --git a/development/hhvm/etc/server.ini b/development/hhvm/etc/server.ini index 230b5c64f8629..ce240979d4119 100644 --- a/development/hhvm/etc/server.ini +++ b/development/hhvm/etc/server.ini @@ -1,7 +1,7 @@ pid = /var/run/hhvm/pid -hhvm.server.file_socket = /var/run/hhvm/sock -;hhvm.server.port = 9000 +;hhvm.server.file_socket = /var/run/hhvm/sock +hhvm.server.port = 9000 hhvm.server.type = proxygen hhvm.server.default_document = index.hh hhvm.log.use_log_file = true diff --git a/development/hhvm/hhvm.SlackBuild b/development/hhvm/hhvm.SlackBuild index 4f38a7b885e8d..1717b5ddd45ca 100644 --- a/development/hhvm/hhvm.SlackBuild +++ b/development/hhvm/hhvm.SlackBuild @@ -23,7 +23,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=hhvm -VERSION=${VERSION:-3.20.2} +VERSION=${VERSION:-3.21.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} diff --git a/development/hhvm/hhvm.info b/development/hhvm/hhvm.info index 66736d17ede59..a0c9e911b296c 100644 --- a/development/hhvm/hhvm.info +++ b/development/hhvm/hhvm.info @@ -1,10 +1,10 @@ PRGNAM="hhvm" -VERSION="3.20.2" +VERSION="3.21.0" HOMEPAGE="http://hhvm.com/" DOWNLOAD="UNSUPPORTED" MD5SUM="" -DOWNLOAD_x86_64="http://download.dlackware.com/hosted-sources/hhvm/hhvm-3.20.2.tar.xz" -MD5SUM_x86_64="93b8cd749142a736bfb58c7d0f8f8ebf" +DOWNLOAD_x86_64="http://download.dlackware.com/hosted-sources/hhvm/hhvm-3.21.0.tar.xz" +MD5SUM_x86_64="434db7b635f476f5ae5facdfb312b757" REQUIRES="tbb glog dwarf oniguruma libmemcached krb5 lz4 double-conversion libsodium" MAINTAINER="Eugene Wissner" EMAIL="belka@caraus.de" |