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

ZGH: $5/month/1GB memory/40GB space/unlimited traffic/1Gbps port/KVM/Chile

ZGH, a foreign merchant, provides virtual hosting...

Debian bind multiple IP network settings

1. Edit /etc/network/interfaces This file describ...

HostDoc: £2.49/month/2GB memory/20GB space/3TB bandwidth/KVM/Singapore/Dallas

HostDoc, a foreign merchant, has been introduced ...

Qovic: $15/year/512MB RAM/10GB SSD space/unlimited traffic/KVM/Los Angeles

Qovic, probably opened by an Indian, previously m...

Beginner's Guide: Payment Tools

After making specific plans to use the host and d...

ownCloud: Building a Private Cloud

Cloud services are popular nowadays, and the word...

HudsonValleyHost: $32/month/8GB RAM/120GB SSD/10TB bandwidth/Buffalo

HudsonValleyHost, this time the dedicated server ...

White Sands Hosting: $14.49/year/128MB RAM/25GB storage/1000GB bandwidth/OpenVZ

White Sands Hosting, an American hosting provider...

Kvmla: 59 yuan/month/1GB memory/40GB space/1TB traffic/10 IP/XEN

Kvmla, a Chinese host with good reputation, was e...

BigBirdWeb: $3.6/month/50GB SSD space/unlimited traffic/US

BigBirdWeb, an American hosting provider, claims ...

ServerStatus-Hotaru: Create your own server monitoring

Based on Linux. At least 2 machines are required,...