Skip to content

Instantly share code, notes, and snippets.

@rvaliev
rvaliev / php7-fpm_xdebug_nginx1.9.9.md
Created May 31, 2016 23:38 — forked from rahilwazir/php7-fpm_xdebug_nginx.md
Nginx with PHP7-FPM and XDebug

##Install PHP7

sudo add-apt-repository ppa:ondrej/php
sudo apt-get update
sudo apt-get install php7.0-fpm php7.0-cli php7.0-common php7.0-json php7.0-opcache php7.0-mysql php7.0-phpdbg php7.0-mbstring php7.0-gd php7.0-imap php7.0-ldap php7.0-pgsql php7.0-pspell php7.0-recode php7.0-snmp php7.0-tidy php7.0-dev php7.0-intl php7.0-gd php7.0-curl php7.0-zip php7.0-xml

##Change PHP socket to

/var/run/php/php7.0-fpm.sock