Setting up PHP 7.0 with MacPorts

sudo port install php70 php70-curl php70-fpm php70-gd php70-gettext php70-iconv php70-intl php70-mbstring php70-mcrypt php70-mysql php70-opcache php70-openssl php70-sqlite
sudo cp /opt/local/etc/php70/php.ini-development /opt/local/etc/php70/php.ini

Create the following PHP70-FPM config file: /opt/local/etc/php70/php-fpm.conf

[global]

error_log = log/php70/php-fpm.log
syslog.ident = php70-fpm
daemonize = no

[www]

user = nobody
group = nobody

listen = /var/run/php7-fpm.sock
listen.owner = nobody
listen.group = nobody
listen.mode = 0660

pm = dynamic
pm.max_children = 5
pm.start_servers = 2
pm.min_spare_servers = 1
pm.max_spare_servers = 3
slowlog = log/$pool.log.slow
catch_workers_output = yes

php_flag[display_errors] = on
php_admin_value[error_log] = /var/log/fpm-php7.www.log
php_admin_flag[log_errors] = on
php_admin_value[memory_limit] = 64M
sudo port load php70-fpm

PHP FPM will be accessible via: /var/run/php7-fpm.sock