I am trying to install xdebug with pecl install xdebug on PHP 5.5.27
According to PECL website https://pecl.php.net/package/xdebug latest stable version of xdebug is 2.3.3
However command above is trying to install xdebug 2.3.2
What is wrong with this?
You need to download it manually:
wget http://xdebug.org/files/xdebug-2.3.3.tgz
tar -xvzf xdebug-2.3.3.tgz
cd xdebug-2.3.3
phpize
./configure
make
If you are running a tool like homestead you won't need further steps and do not forget to take backup before steps below.
cp modules/xdebug.so /usr/lib/php5/20131226
Update /etc/php5/fpm/php.ini
zend_extension = /usr/lib/php5/20131226/xdebug.so
Restart the webserver