博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
hhvm的正确安装姿势 http://dl.hhvm.com 镜像
阅读量:7201 次
发布时间:2019-06-29

本文共 1265 字,大约阅读时间需要 4 分钟。

hhvm是php的第三方运行环境,由facebook出品,基于该运行环境,它还提供了一种编程语言hack - PHP的静态类型版。

折腾了一天后,包括各种编译、配置、FQ,后面终于忍不住搜了一下 http://dl.hhvm.com mirrors ,终于找到了答案。

There are a variety of volunteered owned mirrors to get the packages, if the default one shown in these instructions are slow. Just change the prefix in your /etc/apt/sources.list.d/hhvm.list (still leave the subdirectory of your distro).

  • (US)
  • (NL)
  • (RU)
  • (DE)
  • (CN)

有国内的镜像,由一家叫 爱云网络的 公司提供。

update-alternatives: using /usr/bin/hhvm to provide /usr/bin/php (php) in auto mode


  • HHVM is installed.
  • Running PHP web scripts with HHVM is done by having your
  • webserver talk to HHVM over FastCGI. Install nginx or Apache,
  • and then:
  • $ sudo /usr/share/hhvm/install_fastcgi.sh
  • $ sudo /etc/init.d/hhvm restart
  • (if using nginx) $ sudo /etc/init.d/nginx restart
  • (if using apache) $ sudo /etc/init.d/apache restart
  • Detailed FastCGI directions are online at:
  • If you're using HHVM to run web scripts, you probably want it
  • to start at boot:
  • $ sudo update-rc.d hhvm defaults
  • Running command-line scripts with HHVM requires no special setup:
  • $ hhvm whatever.php
  • You can use HHVM for /usr/bin/php even if you have php-cli
  • installed:
  • $ sudo /usr/bin/update-alternatives \
  • --install /usr/bin/php php /usr/bin/hhvm 60

结果是hhvm方便安装了,但user-documentation又运行不起来了。

转载地址:http://wjcum.baihongyu.com/

你可能感兴趣的文章
curl命令
查看>>
setsockopt用法详
查看>>
Linux的目录管理类命令之cd、pwd
查看>>
tem
查看>>
list 分组
查看>>
ubuntu 使用link方式安装eclipse svn插件
查看>>
三次交换机如何配置生成树协议----STP
查看>>
Mybatis #{} 和 ${} 的区别
查看>>
XenServer 6.5实战:Creating a Storage Repository (CIFS)
查看>>
磁盘配额管理解决共享硬盘空间不足问题(图)
查看>>
【redis.set方法详解】
查看>>
Lvs(一):集群简介与Lvs基础
查看>>
Spring
查看>>
关于ExtJS错误“例外被抛出且未被接住”问题
查看>>
从一个程序员笑话看软件开发管理
查看>>
我的友情链接
查看>>
win7打印机共享出现0x000006d9错误的解决方法
查看>>
关于IPad,Iphone“无法加入网络”的可能出现的问题解决办法
查看>>
65 个职场很有技巧的回答
查看>>
学习记录:go语言中读写文件的小练习
查看>>