The most of devepolers know something about Facebook's Hiphop for php, I want to use it in my scripts but have no idea where to start.
Should I speak with my server provider? or Do I need to add some codes into my scripts?
The most of devepolers know something about Facebook's Hiphop for php, I want to use it in my scripts but have no idea where to start.
Should I speak with my server provider? or Do I need to add some codes into my scripts?
I've read Amazon Linux is based on Fedora/CentOs, so could this works?
https://github.com/facebook/hiphop-php/wiki/Installing-or-Building-HipHop-PHP-via-RPM-on-CentOS-5 ?
This git repo allows you to build a VM based on Debian/Ubuntu that has HipHop/HHVM installed:
https://github.com/javer/hhvm-vagrant-vm
The Vagrantfile contains a script that you can use on a VM or server. However, using the Vagrant VM first to see whether HipHop is going to work for you is highly recommended.
HipHop is very difficult to install, but luckily for you I've just been through it!
You need a dedicated server, easiest to install on Red Hat or CentOS, or Amazon Linux. You cannot install it on a shared host, you need root access.
It's also easier to install on a clean server (just the OS).
I recommend you get a clean Instance from Amazon Web Services and install it on that, you can turn it off whenever you don't need it. It's not expensive.
This will install it on an AWS Instance, put it into SSH one line at a time:
Then every time you login to SSH, paste this:
Oh, I should add that you will need HipHop installed on the server you want to run the compiled scripts on. So with all this considered, it's probably not what you want.
If you use CentOS 5.4, it's more easier to install the entire needed packages via yum. Just have to install first the following repos:
HPHP:
EPEL:
IUS:
Before installing, uninstall mysql and php
After installing those repos, you can install by simply typing: