{"id":7884,"date":"2015-11-05T00:05:42","date_gmt":"2015-11-05T00:05:42","guid":{"rendered":"https:\/\/unknownerror.org\/index.php\/2015\/11\/05\/facebook-hhvm\/"},"modified":"2015-11-05T00:05:42","modified_gmt":"2015-11-05T00:05:42","slug":"facebook-hhvm","status":"publish","type":"post","link":"https:\/\/unknownerror.org\/index.php\/2015\/11\/05\/facebook-hhvm\/","title":{"rendered":"facebook\/hhvm"},"content":{"rendered":"<p>HHVM page | Hacklang page | General group | Dev group | Twitter<\/p>\n<p>HHVM (aka the HipHop Virtual Machine) is an open-source virtual machine designed for executing programs written in Hack and PHP. HHVM uses a just-in-time compilation approach to achieve superior performance while maintaining the flexibility that PHP developers are accustomed to. To date, HHVM (and its predecessor HPHPc before it) has realized over a 9x increase in web request throughput and over a 5x reduction in memory consumption for Facebook compared with the PHP 5.2 engine + APC.<\/p>\n<p>HHVM should be used together with a FastCGI-based webserver like nginx or apache.<\/p>\n<h2>FAQ<\/h2>\n<p>Our FAQ has answers to many common questions about HHVM, from general questions to questions geared towards those that want to use or contribute to HHVM.<\/p>\n<h2>Installing<\/h2>\n<p>If you\u2019re new, try our getting started overview.<\/p>\n<p>You can install a prebuilt package or compile from source.<\/p>\n<h2>Running<\/h2>\n<p>You can run standalone programs just by passing them to hhvm: <code>hhvm my_script.php<\/code>.<\/p>\n<p>If you want to host a website:<\/p>\n<ul>\n<li>Install your favorite webserver<\/li>\n<li>Install our package<\/li>\n<li>Start your webserver<\/li>\n<li>Run <code>sudo \/etc\/init.d\/hhvm start<\/code><\/li>\n<li>Visit your site at http:\/\/\u2026\/index.php<\/li>\n<\/ul>\n<p>Our getting started overview provides a slightly more detailed introduction as well as links to more information.<\/p>\n<h2>Contributing<\/h2>\n<p>We\u2019d love to have your help in making HHVM better. If you\u2019re interested, please read our guide to contributing.<\/p>\n<h2>License<\/h2>\n<p>HHVM is licensed under the PHP and Zend licenses except as otherwise noted.<\/p>\n<p>The Hack typechecker (<code>hphp\/hack<\/code>) is licensed under the BSD license (<code>hphp\/hack\/LICENSE<\/code>) with an additional grant of patent rights (<code>hphp\/hack\/PATENTS<\/code>) except as otherwise noted.<\/p>\n<h2>Reporting Crashes<\/h2>\n<p>See Reporting Crashes for helpful tips on how to report crashes in an actionable manner.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>HHVM page | Hacklang page | General group | Dev group | Twitter HHVM (aka the HipHop Virtual Machine) is an open-source virtual machine designed for executing programs written in Hack and PHP. HHVM uses a just-in-time compilation approach to achieve superior performance while maintaining the flexibility that PHP developers are accustomed to. To date, [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-7884","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/7884","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/comments?post=7884"}],"version-history":[{"count":0,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/7884\/revisions"}],"wp:attachment":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/media?parent=7884"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/categories?post=7884"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/tags?post=7884"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}