Skip to content

Instantly share code, notes, and snippets.

@PavloZv
PavloZv / gist:a0d97b7f48be1ad96c1573dc09d15cce
Last active November 21, 2017 09:27
Debug PHP коду на віддаленому сервері з Xdebug і PhpStorm
На сервері:
інсталюємо xdebug;
редагуємо документ xdebug.ini (/etc/php5/conf.d/; /etc/php/7.0/fpm/conf.d/);
zend_extension=/usr/lib/php5/20100525/xdebug.so - якщо відсутній рядок у файліЮ то прописуємо
xdebug.profiler_enable = 0
xdebug.remote_enable = 1
xdebug.remote_host = 127.0.0.1
xdebug.remote_port=9001
xdebug.remote_handler=dbgp