Install HHVM on CentOS 6.5 (64-bit)

Install HHVM on CentOS 6.5 (64-bit)

Requirements: CentOS 6.5 64-bit

1. Download HHVM
cd /etc/yum.repos.d
sudo wget http://www.hop5.in/yum/el6/hop5.repo

2. Upgrade the system
sudo yum clean all
sudo yum install hhvm
sudo yum update hiphop-php

3. Check the version
hhvm –version
HipHop VM 3.0.1 (rel)
Compiler:
Repo schema: e69de29bb2d1d6434b8b29ae775ad8c2e48c5391

4. Install nginx
sudo yum install nginx

5. Modify the configuration file
sudo cp -av /etc/nginx/conf.d/default.conf /etc/nginx/conf.d/default.conf.20140526
sudo vi /etc/nginx/conf.d/default.conf

Revise

 location / { root /var/www/htdocs; index index.php index.html index.htm; try_files $uri $uri/ /index.php?$args; }

Add to

 location ~ \.php$ { root /var/www/htdocs; fastcgi_pass 127.0.0.1:9000; fastcgi_index index.php; fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; include fastcgi_params; }

6. Restart nginx
sudo /etc/init.d/nginx start

7. Start hhvm
sudo hhvm –mode server -vServer.Type=fastcgi -vServer.Port=9000

<<:  CrownCloud: $15/year/1 IPv4/256MB memory/4GB space/1TB traffic/KVM

>>:  Install HHVM using the LTMH one-click installation package

Recommend

FlowVPS: $46/year/4GB memory/30GB NVMe space/500GB traffic/KVM/Australia

FlowVPS is a hosting service founded by let moder...

Golden-Hosts: $5/month/4GB RAM/25GB SSD space/1TB bandwidth/KVM/New York

Golden-Hosts, a British hosting provider, provide...

ProfitServer: $18.48/year/512MB RAM/15GB SSD space/unlimited traffic/KVM/Russia

ProfitServer, a Russian hosting provider, was est...

Zhiliaoyun 1GB RAM 2Mbps Bandwidth Hong Kong KVM VPS Review

Details : Zhiliao Cloud: 38 yuan/month/1GB memory...

Light Hosting: $10/month/4GB RAM/100GB storage/unlimited bandwidth/KVM/Malaysia

LightHosting, a Malaysian hosting provider, was e...

StartLogic US Hosting

Startlogic provides customers with strong support...

North Hosts Limited: £7.5/month/2GB RAM/500GB hard drive/2TB traffic/UK

North Hosts Limited, a regular UK hosting provide...

Sentris: $16/month/Xeon X3470/8GB memory/1TB hard drive/Seattle

Sentris, has two special priced servers in Seattl...

HostMantis: $4.48/month/1GB memory/40GB space/1TB traffic/KVM/Lenno

HostMantis first introduced its virtual host in 2...