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
4
votes
1 answer

Reverting PHP-CLI back to default path on Ubuntu, NGINX, HHVM

While experimenting with optimizations on my brand new LEMH (Linux, Nginx, MariaDB, HHVM) stack; I changed the PHP-CLI config to use HHVM for /usr/bin/php by using the following command: $ sudo /usr/bin/update-alternatives --install /usr/bin/php…
Perp1exed
  • 43
  • 1
  • 6
3
votes
2 answers

Starting HHVM automatically on Amazon Linux server boot

I'm having trouble getting hhvm to start when my Amazon Linux (which is apparently very similar to Centos) EC2 instance starts. When I reboot the server hhvm doesn't come up, and there's nothing in the error logs. When I use sudo service hhvm…
Tim
  • 30,383
  • 6
  • 47
  • 77
3
votes
0 answers

Docker: Nginx and hhvm socket configuration returns 502 Bad Gateway

I am trying to run nginx and hhvm with docker-compose and socket file configuration but it returns a 502 error. I can access to conf/hhvm/run/ from nginx and hhvm image. In the error.log nginx's file I got: [error] 5#5: *3 connect() to…
Avel
  • 31
  • 1
  • 4
3
votes
3 answers

Magento Product Images not showing up in backend

On our Magento store when we try to we go to the product page in the admin section to upload images, we see that the images which we already have there on the front end are missing and there is no option to add images as per usual. We are running…
Holly
  • 907
  • 5
  • 13
  • 24
3
votes
0 answers

Optimal server stack for Wordpress

There are numerous tutorials/articles(some even with benchmarks) on how to create an optimized stack to run Wordpress(or any dynamic site, for that matter). The site doesn't get frequently updated(best case scenario one article per week), so a long…
3
votes
2 answers

nginx > varnish > hhvm

I have nginx on the front end interpreting ssl and redirecting all non https traffic to https: server { listen 80; server_name example.com www.example.com; return 301 https://www.example.com$request_uri; } from there the next server…
user44176
  • 41
  • 5
2
votes
1 answer

HTTP/2 enable does not work

On Ubuntu 14.04.4 LTS with HHVM(HipHop VM 3.14.1) and Nginx(nginx/1.10.1) I try to enable HTTP/2 like the following in my vhost server { listen 443 ssl http2 default_server; listen [::]:443 ssl http2 default_server; root…
Set Kyar Wa Lar
  • 163
  • 1
  • 7
2
votes
1 answer

Safari does not decompress gzip content when Content-Encoding is gzip,gzip

Safari for OSX, iOS, and Windows is having issues decompressing Gzip content on my server after a recent server overhaul. I moved from 1 server with Apache and PHP5-FPM to 3 servers. A load balancer and two servers running HHVM, all using Nginx. I…
Null
  • 31
  • 1
  • 4
2
votes
1 answer

FastCGI for DocumentRoot only

I'm trying to set up HHVM for one of my websites. It is running on Apache 2.4, Ubuntu 14.04. I apologize for not being the most advanced system administrator, I am more in the software engineering end of the spectrum. I've got HHVM installed when…
Col South
  • 121
  • 1
2
votes
1 answer

Wordpress converting http to https on Nginx + HHVM

I am trying to run Wordpress on Nginx + HVVM. It runs fine on Apache + PHP, but when I activate Nginx, most of the urls in the website get rewritten to https. Here is my website config: server { root /var/www/claremacdonald.co.uk; index…
Tom Macdonald
  • 143
  • 1
  • 8
1
vote
0 answers

Apache + Nginx + HHVM FastCGI on Mac OS X not working?

My phpinfo() correctly tells me that I am running HHVM 3.18.1 on my Apache webserver. If I try to load any PHP page other than my index.php, I get: [Thu Aug 17 11:35:56.542841 2017] [proxy_fcgi:error] [pid 19023] [client 127.0.0.1:59730] AH01067:…
NobleUplift
  • 165
  • 4
  • 17
1
vote
2 answers

hhvm binding on port 80 preventing nginx from binding on that port

I am running hhvm on ubuntu14 with the following server.ini config: server.ini ; php options pid = /var/run/hhvm/pid ; hhvm specific ;hhvm.server.port = 9000 hhvm.server.file.socket=/var/run/hhvm/hhvm.sock hhvm.server.type =…
ali haider
  • 1,120
  • 3
  • 15
  • 26
1
vote
1 answer

HHVM w/ FastCGI vs. Uploading via WordPress

I successfully installed nginx, HHVM (running with FastCGI) etc. on an Ubuntu 15.10 installation, and HHVM is, in itself, running fine. My /var/www directory is owned by my user and group (e.g. sam:sam), so I can access it via SSH and SFTP and…
physalis
  • 145
  • 1
  • 6
1
vote
1 answer

ubuntu + hhvm results in my tmpfs is full - 100% used

Ubuntu 14.04, HHVM 3.10.1 Running df -h I can see the following: Filesystem Size Used Avail Use% Mounted on udev 7.9G 8.0K 7.9G 1% /dev tmpfs 1.6G 1.6G 8.0K 100% /run /dev/xvda1 9.8G 2.1G 7.2G 23% / none …
Karem
  • 95
  • 1
  • 2
  • 9
1
vote
1 answer

Laravel in subdirectory - Nginx and fastcgi config

I'm trying to set up various facilities laravel applications on my nginx server hhvm, but after much research and many attempts could not succeed. Could someone help me with this? Here is my current setup: server { listen 80; …
1
2 3