Questions tagged [hhvm]

The Hip Hop Virtual Machine(HHVM) is a Just-In-Time(JIT) compiler that combines PHP and Hack(a PHP-like language)

HHVM was developed by Facebook to improve the load time of their web pages, which were written in PHP. HHVM can natively run most PHP code, as well as a new offshoot language called Hack.

HHVM makes its gains via a Just-In-Time compiler which seeks to reduce the bytecode (machine level instructions).

41 questions
1
vote
0 answers

nginx + php-fpm/hhvm specific openbase_dir requirement

I have structure like this: user1 - site - public - functions.php user1 - site - public - functions.php appuser - app - index.php nginx sets php to appuser - app - index.php which includes app and then individual functions.php for users users…
1
vote
2 answers

phpMyAdmin tries to install Apache

I'm playing up with installing new environments on my server, Nginx webserver in conjunction with HHVM. I installed both, then came to MariaDB and installed it as well. I can confirm server's working by hitting IP address: Welcome to nginx! I then…
rev
  • 121
  • 2
  • 11
1
vote
1 answer

502 Error When Trying to Post/Update in Wordpress After HHVM Installation

I'm hoping someone can lead me in the right direction of how to track down this problem. I recently had HHVM installed on my server with PHP as a fallback. Since then I've been having issues in WP admin. When I attempt to post or update a post my…
DRK
  • 11
  • 1
  • 2
1
vote
0 answers

HHVM doesn't start and no error message

I've installed HHVM 3.2 on Centos 6.5. And also installed mod_fastcgi. But when I try to start hhvm nothing happens. I don't see any error message. I have to press ctrl + c to interrupt. Where can I check for any errors? As for…
darnpunk
  • 133
  • 7
1
vote
0 answers

Docker + HHVM: CMD fails but same command on CL works

I'm playing around with HHVM, and I'm running into an issue when trying to run my Dockerized HHVM container: whenever I try to pass CL arguments to HHVM, it fails when used from the Dockerfile CMD, but that very same command works when I add it as…
Anthony F.
  • 153
  • 1
  • 6
1
vote
2 answers

Can't get apache working after installing nginx & hhvm

I had Apache2 running on my local ubuntu machine and I installed nginx & hhvm on my local for debugging purposes by following this tutorial. I would now like to switch back to Apache2 as I had it before, previously I had both Apache & NGINX with…
Holly
  • 1,027
  • 5
  • 14
  • 25
1
vote
3 answers

hhvm + nginx + wordpress - upload issue

I installed nginx 1.7.12 + hhvm 3.7.0 + wordpress 4.2.2 on digital ocean droplet. I am trying to upload a theme that is 17 mb. While uploading, after exactly 30 seconds the upload restarts itself 3-4 times and than I get an error page. All the…
Speedwheel
  • 23
  • 4
1
vote
0 answers

High CPU Usage and hangs randomly with HHVM

I'm using phpbb on Centos 7 with 512mb of ram and 1 core. And I'm having randomly hangs and high cpu usage when I get some url of my clean phpbb installation. This is my server.hdf file: idFile = /run/hhvm.pid Server { Port = 9000 Type =…
Jeremy
  • 11
  • 2
1
vote
1 answer

How to configure HHVM with Nginx compiled from source?

I installed Nginx 1.8 (compiled from source) on Debian 7: cd /opt/ sudo wget http://nginx.org/download/nginx-1.8.0.tar.gz sudo wget http://labs.frickle.com/files/ngx_cache_purge-2.3.tar.gz sudo tar -zxvf nginx-1.8.0.tar.gz sudo tar -zxzf…
Speedwheel
  • 23
  • 4
1
vote
1 answer

Nginx + HHVM + MariaDB + WordPress install -> Error establishing a database connection

I'm setting up a VPS for a WordPress blog. I'm using Ubuntu 14.04 LTS 64 bits and then I've installed Nginx 1.7.8, HHVM 3.6.0, MariaDB (don't remember the version). Finally I've downloaded WordPress 4.1.1 and after creating the database and editing…
javipas
  • 1,332
  • 3
  • 23
  • 38
1
vote
0 answers

Max memory for HHVM instance on vServer

Im tried hhvm on my vServer and have problems with the memory used. The performance is great, but the used memory consumption is horrible. I have a vServer with min 4GB and max 8GB memory and hhvm uses after 1 day about 2.4GB of the available memory…
Philipp
  • 71
  • 9
0
votes
0 answers

Http connection sometimes fails to reach (?) server while ICMP and ssh connection works fine

I have quite odd problem which i had for quite a time. I'm using powerful OVH dedicated server and i'm not sure what exactly is a root issue here. I've migrated out of Cloudflare cdn, so this problem is quite annoying now and i need to finally…
user276349
0
votes
1 answer

Connection refused errors in nginx logs when it tries to connect to hhvm

My nginx web server has a lot of lines like this one in its error.log file: 2017/12/30 20:30:00 [error] 5620#5620: *21 connect() to unix:/var/run/hhvm/hhvm.sock failed (111: Connection refused) while connecting to upstream, client: xxx.xxx.xxx.xxx,…
0
votes
0 answers

Docker with Nginx, Portainer, HHVM, and UFW

I have a vps, running docker, with nginx and hhvm. So far, so good: The images I use are the official nginx, and brunoric/hhvm To have it play nicely with UFW, I had to disable the use of iptables by adding: { "iptables": false } in…
0
votes
1 answer

Dependency and duplicates error, during installation of HHVM on Redhat

I installed HHVM on Redhat-6.6 (Santiago) using yum install hhvm, But it returns Following errors Error: Package: gcc-java-4.4.7-17.el6.x86_64 (rhel-6-server-rpms) Requires: gcc = 4.4.7-17.el6 Removing: gcc-4.4.7-11.el6.x86_64…
SuperKrish
  • 105
  • 3