Friday, February 14, 2014

How to install xdebug in xubuntu

sudo apt-get install php5-dev php-pear
sudo pecl install xdebug


find / -name 'xdebug.so' 2> /dev/null

sudo gedit /etc/php5/apache2/php.ini
 

zend_extension="/usr/lib/php5/20121212/xdebug.so"
sudo /etc/init.d/apache2 restart

Wednesday, February 12, 2014

How to get the IP address of the docker host from inside a docker container

/sbin/ip route|awk '/default/ { print $3 }'