ConoHa(CentOS6.5)にxdebug入れる
# yum install php-pecl-xdebug Loaded plugins: fastestmirror, priorities, security Setting up Install Process Loading mirror speeds from cached hostfile * base: ftp.tsukuba.wide.ad.jp * epel: ftp.kddilabs.jp * extras: ftp.tsukuba.wide.ad.jp * updates: ftp.tsukuba.wide.ad.jp 148 packages excluded due to repository priority protections Resolving Dependencies --> Running transaction check ---> Package php-pecl-xdebug.x86_64 0:2.1.4-1.el6 will be installed --> Processing Dependency: php(zend-abi) = 20090626 for package: php-pecl-xdebug-2.1.4-1.el6.x86_64 --> Processing Dependency: php(api) = 20090626 for package: php-pecl-xdebug-2.1.4-1.el6.x86_64 --> Finished Dependency Resolution Error: Package: php-pecl-xdebug-2.1.4-1.el6.x86_64 (epel) Requires: php(zend-abi) = 20090626 Installed: php-common-5.5.18-1.el6.remi.x86_64 (@remi-php55) php(zend-abi) = 20121212-64 Available: php-common-5.3.3-38.el6.x86_64 (base) php(zend-abi) = 20090626 Available: php-common-5.3.3-40.el6_6.x86_64 (updates) php(zend-abi) = 20090626 Error: Package: php-pecl-xdebug-2.1.4-1.el6.x86_64 (epel) Requires: php(api) = 20090626 Installed: php-common-5.5.18-1.el6.remi.x86_64 (@remi-php55) php(api) = 20121113-64 Available: php-common-5.3.3-38.el6.x86_64 (base) php(api) = 20090626 Available: php-common-5.3.3-40.el6_6.x86_64 (updates) php(api) = 20090626 You could try using --skip-broken to work around the problem You could try running: rpm -Va --nofiles --nodigest
baseから入れようとするとエラー出るので、php5.5入れたとき同様remi-php55から入れる。
# yum -y install php-pecl-xdebug --enablerepo=remi-php55 Loaded plugins: fastestmirror, priorities, security Setting up Install Process Loading mirror speeds from cached hostfile * base: ftp.tsukuba.wide.ad.jp * epel: ftp.tsukuba.wide.ad.jp * extras: ftp.tsukuba.wide.ad.jp * remi-php55: remi.kazukioishi.net * updates: ftp.tsukuba.wide.ad.jp 285 packages excluded due to repository priority protections Resolving Dependencies --> Running transaction check ---> Package php-pecl-xdebug.x86_64 0:2.2.5-1.el6.remi.5.5 will be installed --> Finished Dependency Resolution Dependencies Resolved ================================================================================================================================== Package Arch Version Repository Size ================================================================================================================================== Installing: php-pecl-xdebug x86_64 2.2.5-1.el6.remi.5.5 remi-php55 164 k Transaction Summary ================================================================================================================================== Install 1 Package(s) Total download size: 164 k Installed size: 560 k Downloading Packages: php-pecl-xdebug-2.2.5-1.el6.remi.5.5.x86_64.rpm | 164 kB 00:00 Running rpm_check_debug Running Transaction Test Transaction Test Succeeded Running Transaction Installing : php-pecl-xdebug-2.2.5-1.el6.remi.5.5.x86_64 1/1 Verifying : php-pecl-xdebug-2.2.5-1.el6.remi.5.5.x86_64 1/1 Installed: php-pecl-xdebug.x86_64 0:2.2.5-1.el6.remi.5.5 Complete!
$ php -v PHP 5.5.18 (cli) (built: Oct 16 2014 12:21:51) Copyright (c) 1997-2014 The PHP Group Zend Engine v2.5.0, Copyright (c) 1998-2014 Zend Technologies with Xdebug v2.2.5, Copyright (c) 2002-2014, by Derick Rethans