百度 | 神马 | 搜狗 | 技术文档 | 学习资料分享 - 记录帝国CMS及运维技术的点点滴滴
你的位置:首页 > 实用IT技术 » 正文

【经典网站】HHVM:替代PHP环境的服务器建站工具

发布时间:2020-09-16

作品分类:经典网站  环境  建站  服务器  建站  环境  服务器  工具  HHVM

HHVM:替代PHP环境的服务器建站工具是由Facebook团队开发的一套强大的可以用于替代PHP的建站环境包,它是一个PHP的JIT(Just-In- Time)编译器,同时具有产生快速代码和即时编译的优点。实践证明HHVM可以明显地提升PHP执行速度,节省大量的服务器资源。

【HHVM介绍】

HHVM单独安装的话比较简单,官方也针对各种个操作系统推出了详细的说明文档,一般按照文档的说明就可以安装成功,HHVM主要是用于替换PHP,平常的LNMP即Linux、Nginx、MysqL、PHP架构被替换为LNMH(H即为HHVM)。

HHVM环境包支持Debian7 x64、CentOS 6.5 (64-bit)、 Ubuntu 12.04 上搭建HHvm Apache 2.4 Nginx建站环境,同时安装和运行Wordpress博客程序,HHvm强大的性能提升能力可以最大限度地提升Wordpress运行效率,节省服务器费用。

这里分享一份HHVM环境的服务器架设教程:HHVM+Wordpress

HHVM is an open-source virtual machine designed for executing programs written in Hackand PHP. HHVM uses a just-in-time (JIT) compilation approach to achieve superior performance while maintaining the development flexibility that PHP provides.

HHVM runs much of the world’s existing PHP. Developers and hosts are adopting HHVM. We are aware of minor incompatibilities (please open issues when you find them), but we can run the top 20 Github PHP frameworks out of the box. The HHVM team, along with many wonderful community members, has made it a stated, high priority goal to run all existing PHP code existing out in the wild.

Top