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)
41
questions
0
votes
1
answer
248
views
install_fastcgi.sh is missing on ubuntu 18.04
I am trying to configure hhvm, nginx and mysql in my ubuntu 18.04 system following the following tutorials
Tutorial: How to install Facebook’s HHVM on Ubuntu 18.04
How To Install HHVM with Nginx on ...
0
votes
0
answers
91
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
1
answer
789
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) ...
1
vote
0
answers
266
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]...
0
votes
0
answers
287
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 ...
0
votes
1
answer
264
views
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
...
1
vote
2
answers
160
views
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/...
0
votes
1
answer
317
views
unable to install hhvm on debian (jessie) via apt
I am trying to setup hhvm using the instructions below but I am getting the error copied below. If it does not work, I will simply clone the git repo and run make but would prefer not to if possible.
...
-2
votes
2
answers
4k
views
Nginx 98: Address already in use - Failed to start A high performance web server issue [duplicate]
My Server Working Good... Until Reboot, After Reboot Nginx not Running Good!
OS: Ubuntu server
nginx version: nginx/1.10.0 (Ubuntu)
HHVM Script Server
I Try many Methods But I can't Fix This:
...
1
vote
1
answer
71
views
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:...
2
votes
1
answer
2k
views
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 ...
-1
votes
1
answer
2k
views
Install HHVM on Ubuntu 16.04 w/install_fastcgi.sh
There does not seem to be a prebuilt HHVM package available for Ubuntu 16.04. It seems in Xenial that they have added HHVM to the universal repos, but installing it that way does not include the ...
-1
votes
2
answers
311
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 ...
1
vote
1
answer
466
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
1
answer
2k
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 ...
0
votes
1
answer
91
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'...
3
votes
2
answers
530
views
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 ...
1
vote
0
answers
55
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 ...
3
votes
0
answers
3k
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
2
answers
805
views
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 ...
0
votes
1
answer
740
views
HHVM Not Using memcached as Save Handler?
I'm using HHVM to serve up my PHP content, and have a memcached instance setup with a view to using it as a save handler for sessions, however I'm not sure that HHVM is actually using it.
Here's the ...
1
vote
1
answer
3k
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
0
answers
105
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 ...
0
votes
1
answer
724
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
1
answer
472
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
1
answer
3k
views
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 ...
1
vote
0
answers
156
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, ...
3
votes
3
answers
5k
views
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 ...
3
votes
0
answers
204
views
Optimal server stack for Wordpress [closed]
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(...
1
vote
2
answers
1k
views
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 ...
5
votes
1
answer
4k
views
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 /...
1
vote
3
answers
2k
views
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-...
1
vote
0
answers
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
1
answer
436
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
1
answer
1k
views
HHVM exit after "Too many open files"
I have a small problem regarding HHVM. So i have installed HHVM on my mashine (Ubuntu 14.04) and its working without problems.
Now i've made some performance tests and made a test with apache bench. ...
2
votes
1
answer
517
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
1
answer
423
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
1
answer
2k
views
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....
0
votes
1
answer
339
views
Support for Postgres broken in HHVM 3.6.0
I keep getting
Uncaught exception: Could not open extension /etc/hhvm/extensions/pgsql.so: /etc/hhvm/extensions/pgsql.so: undefined symbol: _ZN4HPHP13PDOConnection5sweepEv
When I try to start up ...
3
votes
2
answers
2k
views
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....
1
vote
0
answers
439
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 ...