In the CentOS 6.x system, it is integrated with Xdebug,
Yum Install Php-pecl-xdebug
If it is centos.5 may also be installed by installing the Epel to install
RPM-IVH http://dl.fedoraproject.org/pub/epel/5/x86_64/epel-release-5-4.noarch.rpm
And then
Yum Install Php-pecl-xdebug
Add the Xdebug content to the php.ini config file again. If it is a yum-installed PHP, the default path is/etc/php.ini
[Xdebug]
Zend_extension_ts =/usr/lib64/php/modules/xdebug.so
Zend_extension =/usr/lib64/php/modules/xdebug.so
Xdebug.auto_trace = On
Xdebug.auto_profile = On
Xdebug.collect_params = On
Xdebug.collect_return = On
Xdebug.profiler_enable = On
Xdebug.trace_output_dir = "/tmp"
Xdebug.profiler_output_dir = "/tmp"
Xdebug.dump.GET = *
Xdebug.dump.POST = *
Xdebug.dump.COOKIE = *
Xdebug.dump.SESSION = *
Xdebug.var_display_max_data = 4056
Xdebug.var_display_max_depth = 5
Installing Xdebug under CentOS