Run php -i
and copy the output of the following command and paste it on https://xdebug.org/wizard.php.
Follow the instructions there to install xDebug.
Example:
-
Download xdebug-2.6.0.tgz:
wget http://xdebug.org/files/xdebug-2.6.0.tgz
-
Unpack the downloaded file with
tar -xvzf xdebug-2.6.0.tgz