CentOSにPHPのとりあえずの開発環境を作成してみる
の続き。
xdebugとphpunitをyumでインストールしてみる。
標準のリポジトリにはないのでepelからインストールする。
$ sudo yum -y install php-pecl-xdebug --enablerepo=epel
以上で、インストール完了。
$ php -i | grep "xdebug support"
xdebug support => enabled
標準のリポジトリにはないのでepelからインストールする。
$ sudo yum install php-xml php-pear php-phpunit-PHPUnit --enablerepo=epel
以上で、インストール完了。
$ phpunit --version
PHPUnit 3.7.29 by Sebastian Bergmann.