1. We need to have php5, gcc, gcc-c++, autoconf, automake and apache server installed.
2. Need to install php-pecl* and php-pear.
3. #> yum install php-pecl* <enter>
4. #> yum install php-devel <enter>
5. #> yum install php-pear <enter>
6. #> pecl install Xdebug <enter>
7. Need to configure your PHP to load the extension.
[Xdebug]
xdebug.profiler_enabl = 1
xdebug.profiler_output_dir = /tmp
8. apache server restart.