How to compile php7 on ubuntu 14.04
[slb_exclude]I’ve been reading great things about PHP 7, specifically the PHP7 infographic created by Zend. So today I decided to create a ubuntu droplet and go to work compiling php7 from source. I ran into a few problems along the way but eventually was successfully. Here is a quick howto that will help you avoid some the same pitfalls I experienced.
[/slb_exclude]
After installing a fresh copy of Ubuntu 14.04 lets install some dependencies and software we need to compile php from source.
A WORD OF CAUTION! Do not attempt to compile or install php7 on a production machine, you have been warned. While already published, this article is a work in progress and I’m still writing and editing it.
First Step, Install gcc compiler, php5 dependencies, and some required libraries.