hhvm Questions
1
Solved
I've been fiddling around with this for quite some time now, and I can't really get a grasp on how nginx+hhvm maps my requests.
Basiclly, I have an API on api.example.com that I would like to call ...
2
Solved
I have started learning hacklang today and now I am a bit stuck on shapes:
http://docs.hhvm.com/manual/en/hack.shapes.php
I understand the concept of shapes and it seems really useful for me, but ...
1
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....
1
Solved
2
Solved
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 res...
1
Solved
I might be doing something wrong but I am doing a bit of testing between a php-fpm wordpress setup and a HHVM wordpress setup. I've heard & seen many mind blowing results from HHVM, but I'm jus...
1
I needed slim php to work with pretty urls using .htaccess, well no problem.
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^ index.php [QSA,L]
Now I ran this using hhvm, fastc...
1
Solved
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. Almo...
Hagan asked 15/7, 2014 at 14:22
1
I'm using HHVM 3.1.0 (rel) with Nginx, and fastcgi is not showing warnings, but running hhvm on console it shows.
Is it normal?
My php.ini:
error_reporting = E_ALL
display_errors = 1
hhvm.error_...
1
Solved
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...
3
Solved
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 supp...
Salutation asked 29/11, 2012 at 23:37
1
Solved
Is there any way to tell HHVM to output Hacklang warnings and errors into the browser? Something like PHP does with enabled display_errors, display_startup_errors and error_reporting set to E_ALL
...
1
Can someone explain how this works?
http://docs.hhvm.com/manual/en/hack.lambda.php
Variables are captured automatically and transitively (including $this):
<?hh
$z = 11;
$foo = $x ==> $y =...
1
Solved
I'm able to start the HipHop VM to use a unix socket. I can accomplish this via:
/usr/bin/hhvm --config /etc/hhvm/server.ini --mode daemon -vPidFile=/var/run/hhvm/pid -vServer.Type=fastcgi -vServ...
1
Solved
I am getting a pdo exception "could not find driver" when trying to access MySql through PDO using hacklang/hhvm (compiled today). I tried installing php5-mysql but I'm not even sure that is helpfu...
1
Solved
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...
1
Solved
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...
2
Solved
Facebook have introduced a new programming language, which looks mostly like an extension to PHP. They've called it Hack and it's running on their HHVM engine.
After seeing their website and...
3
Solved
I am trying to run PHPUnit unit tests via HHVM on a virtual Ubuntu 12.04 (64-bit Server) install. The tests usually run using a phpunit.xml file located in my tests directory, which includes a boot...
Cringle asked 26/9, 2013 at 15:24
1
Solved
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 t...
1
Solved
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 ...
Dao asked 17/2, 2014 at 6:20
2
Solved
I need to run a given package on both HHVM runtime and traditional PHP runtime. My question: is there a way to check programmatically if current environment is HHVM? Something like this:
<?php
...
1
I have a Drupal 7 website with Memcache installed, which is working fine on an Apache2 web server. Now I've replaced Apache2 with HHVM (HipHop) and got a real boost on performance.
The problem is ...
3
Solved
PHP manual states that time() returns "the current UNIX timestamp" ᴀ ­and microtime() returns the "current Unix timestamp with microseconds" ʙ...
© 2022 - 2024 — McMap. All rights reserved.