16.04 phpbrew
發表於 : 2017-02-07 14:37:53
https://coderwall.com/p/hguzxa/phpbrew- ... 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
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