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