Questions tagged [hhvm]

HipHop VM (HHVM) is a virtual machine designed for executing programs written in Hack and PHP.

HipHop VM (HHVM) is a virtual machine designed to execute bytecode compiled just-in-time from both the PHP and Hack programming languages. It is maintained by Facebook.

HHVM is created as the successor of the HipHop for PHP (HPHPc) PHP execution engine, which is a PHP-to-C++ transpiler also created by Facebook. Based on the gained experience and aiming to solve issues brought by HPHPc, in early 2010 Facebook decided to create a JIT-based PHP virtual machine. Issues associated with HPHPc included its flattened curve for further performance improvements, lack of full support for the PHP language, and difficulties related to specific time- and resource-consuming development and deployment processes.

Versions and Support

+--------------+----------------+------------------+
|  LTS Version |  Release Date  |  End of Support  |
+--------------+----------------+------------------+
| 3.6          | 11 March 2015  | 28 Jan 2016      |
| 3.9          | 14 Aug 2015    | 15 July 2016     |
| 3.12         | 29 Jan 2016    | 30 Dec 2016      |
+--------------+----------------+------------------+

External links

532 questions
7
votes
3 answers

Does HHVM (HipHop) support Postgresql/arbitary pecl extensions?

Facebook made a big announcement today -- HHVM is replacing the original hiphop compiler. The old HipHop had limited support for extensions -- including, IIRC, no postgres support. Does HHVM support all pecl extensions? How much of the standard PHP…
Frank Farmer
  • 38,246
  • 12
  • 71
  • 89
6
votes
3 answers

Receiving invalid filename error when converting first page of pdf to jpg

I'm using imagick to convert a pdf to a jpg in a script I have...it works fine if I give the direct path to the uploaded pdf without the page specified, but when I add the [0] onto the end of the file path to specify that I only want to read the…
kevindeleon
  • 1,914
  • 3
  • 18
  • 30
6
votes
1 answer

Vagrant, PhpStorm, HHVM and Xdebug

I'm having problems getting PhpStorm and the internal Xdebug in HHVM playing nicely on a vagrant box, below is my…
Andy
  • 341
  • 1
  • 11
6
votes
1 answer

How to enable xdebug on HHVM 3.3.0?

I'm trying to setup remote debugging for my virtual Ubuntu 14.04. I've enabled xdebug on my HHVM 3.3.0 by adding this to the server.ini: hhvm.xdebug-not-done.enable=1 hhvm.xdebug-not-done.remote_enable=1 But it doesn't work for me. Should I perform…
Pavel Demidyuk
  • 305
  • 2
  • 11
6
votes
1 answer

HHVM fastcgi + Nginx performance fluctuations

Currently we started using HHVM in a production envirionment and so far almost all results are pretty inpressive. Our overall transaction rate is greatly improved compared to PHP-FPM with APC. Almost all requests are under 500ms however every couple…
Fraak
  • 208
  • 2
  • 6
6
votes
3 answers

HHVM - How to use hh_client properly

So I was excited to jump into some Hacklang and HHVM, and after finally managing to get it running on a CentOS 6 VM (tip: servergrove.com have a RPM from a repo of theirs, but it still needed MySQL 5.0 shared libraries to work - still the closest I…
ndavison
  • 185
  • 7
6
votes
1 answer

HACK Lambda Example -- what?

Can someone explain how this works? http://docs.hhvm.com/manual/en/hack.lambda.php Variables are captured automatically and transitively (including $this): $y ==> $x * $z + $y; $bar = $foo(5); var_dump($bar(4)); //…
Bob Brunius
  • 1,344
  • 5
  • 14
  • 21
6
votes
1 answer

Deploying Symfony2 on HHVM + Apache + fastCGI

I am attempting to deploy a Symfony2 (2.4) app on HHVM (3.0) and Apache (2.4) via fastCGI, as per the instructions here - https://github.com/facebook/hhvm/wiki/FastCGI While I can properly execute single php files this way, it does not seem to work…
csvan
  • 8,782
  • 12
  • 48
  • 91
6
votes
1 answer

What exactly is HHVM and/or PHP execution engines?

I've been reading about Facebook's Hack which lead me to reading about HipHop Virtual Machine. I wanted a better understanding of this and could not find a clear definition. Wikipedia defines it as: HipHop for PHP (shortened as HipHop) describes a…
Michael Ramos
  • 5,523
  • 8
  • 36
  • 51
6
votes
1 answer

Why does HHVM in daemon mode not start automatically after server reboot?

HipHop/HHVM can be run as a daemon (so it starts automatically after rebooting) with sudo /usr/bin/hhvm --mode daemon --config /etc/hhvm/server.hdf When run, it works perfectly (which shows that the configs are okay). But after restarting the…
Sliq
  • 15,937
  • 27
  • 110
  • 143
6
votes
1 answer

HHVM - Rewrite rules for clean URLS

I have links like this - http://example.com/index.php?q=about and I want to make them look like this - http://example.com/about Currently I am using the Rewrite Rules VirtualHost { * { Pattern = .* RewriteRules { dirindex { …
Gokul N K
  • 2,428
  • 2
  • 32
  • 40
5
votes
1 answer

nginx parllel uploading issue form submission

I have an php web app that buils on laravel5. i use nginx. in my website there is an contact form where user can upload multiple files . My issue is whenever user uploading multiple files its not uploading instead its showing loading for very long…
Dev
  • 371
  • 1
  • 4
  • 19
5
votes
3 answers

error: ‘chrono’ in namespace ‘std’ does not name a type

Any idea what does this message mean? I am using gcc 4.9 to compile squangle. In file included from…
Breno Leitão
  • 3,487
  • 2
  • 19
  • 23
5
votes
1 answer

Symfony2 HHVM 3.4 Serializer Issue

We're testing our Symfony2 API on a HHVM. We just return php objects in our controllers, which will be serialized into Json. Each object has a config file, in which we are defining, which data to expose. On PHP 5.4/5.5/5.6 everything runs fine, but…
user3303589
5
votes
3 answers

Phalcon Zephir vs APC vs HHVM Performance

I started to read about HHVM and Zephir. I was very excited at first, that performance jumps up thanks to this technologies. But then I started to ask myself a question. If It really gives you such performance like owners of this technologies…
Dariss
  • 1,258
  • 1
  • 12
  • 27
1 2
3
35 36