いずれかが私の問題を解決するのに役立ちます。私はphp5.6でPHPUnitのを実行したいが、PHPユニットがUbuntu 12.04 LTSとPHP5.6で動作していません
:~$ phpunit
PHP Warning: require_once(PHP/CodeCoverage/Filter.php): failed to open stream: No such file or directory in /usr/bin/phpunit on line 38
PHP Fatal error: require_once(): Failed opening required 'PHP/CodeCoverage/Filter.php' (include_path='.:/usr/share/php') in /usr/bin/phpunit on line 38
梨が満載問題インストール
インストールされたパッケージ、チャネルpear.php.netを得た:1.4.0安定
パッケージのバージョン州 するArchive_Tar ベンチマーク1.2.9安定 Console_Getopt 1.4.1安定 PEAR 1.10.1安定 PEAR_Manpages 1.10.0安定 PHPUnitの1.3.2安定 Structures_Graph 1.1.1安定した XML_Util 1.3.0安定
については:~$ sudo pear install phpunit/PHPUnit
で動作していないので、私は、端末
:~$ sudo pear install pear/PHPUnit
上で以下のコマンドを実行しなかったのPHPUnitをインストールします。
私は:~$ pear channel-discover pear.phpunit.de
を追加しようとしましたが、それは
Error: No version number found in <channel> tag
Discovering channel pear.phpunit.de over http:// failed with message: channel-add: invalid channel.xml file
Trying to discover channel pear.phpunit.de over https:// instead
Error: No version number found in <channel> tag
Discovery of channel "pear.phpunit.de" failed (channel-add: invalid channel.xml file)
は誰がどのように問題を解決するに教えてもらえますエラーを示していますか?
私はそれを試してみました。動いていない。同じエラーが表示されています –