4

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

Larry B
  • 271

3 Answers3

6

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

Grumpy
  • 3,059
3

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.

troseman
  • 311
0

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.