Last Updated: January 20, 2018
· dhdutoit

PHPBrew on Ubuntu 16.04 & PHP7

When installing PHPBrew on a brand spanking new setup of ubuntu 16.04 the requirements page (that explains for php5) is not very handy to get things started smoothly. This is a minimalist setup you can use in order to install a +default variant of php7 via PHPBrew

~$ sudo apt-get update
~$ sudo apt-get install php7.0 php7.0-curl php7.0-json php7.0-cgi
~$ sudo apt-get install php7.0-fpm autoconf automake libxml2-dev libcurl4-openssl-dev libssl-dev openssl gettext libicu-dev libmcrypt-dev libmcrypt4 libbz2-dev libreadline-dev gettext build-essential libmhash-dev libmhash2 libicu-dev libxslt-dev
~$ phpbrew install php-7.0.9 +default+mcrypt+zlib+sockets+soap+mhash+fpm+openssl
Say Thanks