Install PHP XDebug via Pecl

Even though you may find xdebug in a yum repository, due to version incompatibilities you may need to compile/install it using Pecl. Following are several easy steps to achieve exactly that:

> pecl install xdebug

check the output of the command above, if everything went well, you should see something like :

Installing '/usr/lib64/php/modules/xdebug.so'
install ok: channel://pecl.php.net/xdebug-2.0.5

at the end of the output. Note the location of the .so file and using it create /etc/php.d/xdebug.ini file that rads something like:

; Enable xdebug
zend_extension="/usr/lib64/php/modules/xdebug.so"

Once you are done with the installation, restart Apache and check the PHP module list with: "php -m", you should see "xdebug" appear in the list.

it's very useful and

it's very useful and interesting information. thank you.
--------------------
мойка