Until yesterday I used Ubuntu 14.04 with php5.5 and nginx, everything working perfectly including xdebug.
I then updated to php5.6 via
sudo add-apt-repository ppa:ondrej/php5-5.69
sudo apt-get update && sudo apt-get upgrade
sudo apt-get install php5
which had a lot automatically other php updates afterwards. After this xdebug was not working anymore and giving me some shell errors, since it was build for the wrong php version, so I uninstalled and reinstalled it via
sudo pecl install xdebug
Now I don't get any shell errors anymore, but it's not working correctly. If I disable xdebug in php.ini my local server runs with nginx as expected, so the basic setup is correct.
If I activate xdebug in php.ini and request a local page the request hangs as if I had enabled xdebug and set a breakpoint somewhere in my code, but I didn't. Executing php from command line does work interestingly.
My current /etc/php5/mods-available/xdebug.ini look like
zend_extension=xdebug.so
xdebug.max_nesting_level=1000
xdebug.remote_enable=1
xdebug.remote_host=127.0.0.1
xdebug.remote_port=9001
xdebug.profiler_enable=0
xdebug.profiler_output_dir = /var/log/xdebug
and is included via symlink both into /etc/php5/cli/conf.d and into /etc/php5/fpm/conf.d. Also checking php -m on command line says that xdebug is included as Zend-Module.
Shifting the port to 9001 is on purpose, since fastcgi is running on port 9000.
nginx log are fine, xdebug logs don't exist (directory is empty) and fpm logs only saying
NOTICE: configuration file /etc/php5/fpm/php-fpm.conf test is successful
Any idea what to do or where to have a look?