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

522 questions
6
votes
1 answer

How to output/display Fatal Errors to browser on HHVM

After a day searching for solutions i hope to find an answer here. I'm running Laravel 4.2 on Homestead 2.0 (Vagrant) and i'm trying to get a simple parse error to output to my browser, but instead i keep getting a white screen. I can find the…
grisgruis
  • 989
  • 6
  • 6
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
  • 187
  • 1
  • 9
6
votes
1 answer

Problematic Nginx config

I have setup the following ngnix config for my Ubuntu 14.04 VPS running HHVM with ngnix: server { listen 80 default_server; listen [::]:80 default_server ipv6only=on; root /home/lephenix/main_website; index.php index.html index.htm; # Make site…
user1781267
  • 65
  • 2
  • 6
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
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,204
  • 4
  • 13
  • 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
  • 7,796
  • 8
  • 40
  • 81
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
  • 14,005
  • 24
  • 99
  • 137
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
  • 363
  • 1
  • 3
  • 17
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,198
  • 1
  • 10
  • 26
5
votes
1 answer

hhvm performance similar to PHP 5.5 Ubuntu 14.04

I must have missed something. But I'm getting the same performance with php and hhvm by running ab -n 100 -c 10 http://127.0.0.1:8080/ php -v returns: HipHop VM 3.2.0 (rel) Compiler: tags/HHVM-3.2.0-0-g01228273b8cf709aacbd3df1c51b1e690ecebac8 Repo…
Jad Joubran
  • 2,339
  • 3
  • 27
  • 57
5
votes
2 answers

Run both HHVM and Normal Apache Server

This morning I started using HHVM as my default local server. Most things are fine, but I still have applications that HHVM doesn't fully support yet. Rather than changing my configuration and restarting services, it would be much easier if I could…
Nicholas Summers
  • 3,611
  • 2
  • 16
  • 32
5
votes
1 answer

Symfony 1.4 on HHVM with memcached as a session not working

I'm trying to use Memcached as a session for Symfony 1.4 running under HHVM 3.1.0 But I seem to be getting this error: \nFatal error: No storage module chosen - failed to initialize session in…
Passionate Engineer
  • 8,614
  • 22
  • 84
  • 151
5
votes
1 answer

can't load HHVM extension (dynamic)

I'm writing an C++ extension (dynamic load) for HHVM. I followed the instructions on this page: https://github.com/facebook/hhvm/wiki/Extension-API which links to an example in: https://github.com/hhvm/extension-example I compiled hhvm on Ubuntu…
kchkg
  • 137
  • 1
  • 13
1 2
3
34 35