Build an HHVM Environment Based on Ubuntu14.04

Source: Internet
Author: User
Tags hhvm
I always wanted to try Facebook's HHVM. Today I want to build it in Ubuntu14.04. HHVM announces support for FastCGIhttp: // response

I always wanted to try Facebook's HHVM. Today I want to build it in Ubuntu 14.04.

HHVM announces support for FastCGI http://www.linuxidc.com/Linux/2013-12/94254.htm

1. Compile HHVM

Http://github.com/facebook

Locate hhvm

Github provides compiled files. We will execute them here.

You can only install hhvm on 64-bit machines.

You must be running a 64-bit OS to compile & install HHVM.

Using sudo or as root user: (it is recommended to run sudo apt-get update and sudo apt-get upgrade first, or you may receive errors)

Packages Installation

Library required for installation and compilation

Sudo apt-get install autoconf automake binutils-dev build-essential cmake g ++ git \
Libboost-dev libboost-filesystem-dev libboost-program-options-dev libboost-regex-dev \
Libboost-system-dev libboost-thread-dev libbz2-dev libc-client-dev libldap2-dev \
Libc-client2007e-dev libcap-dev libcurl4-openssl-dev libdwarf-dev libelf-dev \
Libexpat-dev libgd2-xpm-dev libgoogle-glog-dev libgoogle-perftools-dev libicu-dev \
Libjemalloc-dev libmcrypt-dev libmemcached-dev libmysqlclient-dev libncurses-dev \
Libonig-dev libpcre3-dev libreadline-dev libtbb-dev libtool libxml2-dev zlib1g-dev libevent-dev \
Libmagickwand-dev libinotifytools0-dev libiconv-hook-dev libedit-dev libiberty-dev libxslt1-dev ocaml-native-compilers

Downloading the HHVM source-code

Git clone git: // github.com/facebook/hhvm.git
Cd hhvm
Git submodule update -- init -- recursive
Cd ..

Building HHVM

Cd hhvm
Cmake.
Make
Sudo make install

Running programs

The hhvm binary can be found in/usr/local/bin.

Errors

If any errors occur, it may be required to remove the CMakeCache.txt file in the checkout.

If your failure was on the make command, try to correct the error and runmake again,

It shoshould restart from the point it stops. If the error persists, try to remove as explained abve.

2. Download xampp

Baidu xampp

Download linux xampp

HHVM details: Click here
HHVM: Click here

For more information about Ubuntu, see Ubuntu special page http://www.linuxidc.com/topicnews.aspx? Tid = 2

This article permanently updates the link address: Http://www.linuxidc.com/Linux/2014-05/101747.htm

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.