12
Jan
2018

xdebug

12 Jan 2018
sudo subl /etc/php/7.1/cli/php.ini sudo subl /etc/php/7.1/fpm/php.ini [Xdebug] xdebug.remote_autostart=on xdebug.remote_enable=on xdebug.remote_handler="dbgp" xdebug.remote_host="localhost" xdebug.remote_port=9000 xdebug.remote_mode=req xdebug.idekey="PHPSTORM" xdebug.overload_var_dump=off
15
Jul
2017

Install Xdebug for PHP Ubuntu

15 Jul 2017
Prepare to install: apt install php7.0-xdebug php --version Find xdebug path (latest by year): find / -name 'xdebug.so' 2> /dev/null Config update `vi /etc/php/7.0/fpm/php.ini`: zend_extension="/usr/lib/php/20160303/xdebug.so" xdebug.remote_autostart=on xdebug.remote_enable=on xdebug.remote_handler="dbgp" xdebug.remote_host="localhost" xdebug.remote_port=9000 xdebug.remote_mode=req xdebug.overload_var_dump=off xdebug.idekey = PHPSTORM xdebug.max_nesting_level = 512 xdebug.file_link_format = phpstorm://open?%f:%l Then restart: service php7.0-fpm restart