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)

-1
votes
2answers
50 views

php to limit included file to access below and upon directory tree

I am trying to find solution for this problem for days. I have structure like this. index.php /app /plugins/ /users/%site%/functions.php /other stuff all requests goes to ...
2
votes
1answer
248 views

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 ...
2
votes
1answer
411 views

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 { ...
1
vote
1answer
262 views

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% /...
1
vote
1answer
1k views

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 ...
1
vote
1answer
897 views

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 ...
1
vote
1answer
424 views

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 -...
0
votes
1answer
313 views

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) ...
0
votes
1answer
77 views

HHVM should not write to syslog and messages

I've a problem with hhvm, because it's writing errors to 3 different logfiles: /var/log/hhvm/error.log /var/log/syslog /var/log/messages I only want it to write the messages to the first logfile. I'...
0
votes
1answer
592 views

HHVM fallback to PHP-FPM

I am running a PHP application on nginx with HHVM as main and PHP-FPM as backup This is my config of nginx regarding the php processing location ~ \.(hh|php)$ { fastcgi_intercept_errors on; ...
0
votes
1answer
435 views

HHVM won't start: .hhvm.hhbc: No rows in main.GlobalData

HHVM was working normally for some time. I stopped it and tried to restart it. It doesn't start and this error is now present: Failed to load Repo::GlobalData: /home/nginx/.hhvm.hhbc: No rows in ...
2
votes
0answers
2k views

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 ...
1
vote
0answers
198 views

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]...
1
vote
0answers
42 views

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 ...
1
vote
0answers
96 views

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 ...
1
vote
0answers
128 views

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, ...
1
vote
0answers
1k views

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 = /...
1
vote
0answers
430 views

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 ...
0
votes
0answers
45 views

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 ...
0
votes
0answers
169 views

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 ...