I'm really having difficulty finding out how to install xdebug for php 5.3.17 on centos 6.3.
I've tried this link (for centos 5.6 admittedly) but had no luck.
Can anyone point to the right RPM repository or yum command please?
Many thanks
Server Fault is a question and answer site for system and network administrators. It only takes a minute to sign up.
Sign up to join this communityI'm really having difficulty finding out how to install xdebug for php 5.3.17 on centos 6.3.
I've tried this link (for centos 5.6 admittedly) but had no luck.
Can anyone point to the right RPM repository or yum command please?
Many thanks
The EPEL and REMI repo contains xdebug for php. I suggest you try them instead.
Their package name is: php-pecl-xdebug
, so you can just go with yum install php-pecl-xdebug
Also, for further reference on xdebug availability: http://pkgs.org/download/php-pecl-xdebug
pecl install xdebug
http://xdebug.org/docs/install
As of Xdebug 0.9.0 you can install Xdebug through PEAR/PECL. This only works with with PEAR version 0.9.1-dev or higher and some UNIX.
If you want to install from RPM then the question is from where do you have PHP, from which repo, since CentOS doesn't ship 5.3.17.
Otherwise just pecl install xdebug
as others pointed out.