まず、PHPの最新バージョンに更新します。
次に、PHPが環境のPATH変数にあることを確認します。あなたはそれを行う方法をグーグルで調べることができます。
そのセットアップを取得した後、phpunitもインストールする必要があります。WAMPが付属しているかもしれませんが、私はそれを疑っています。あなたが梨を持っているならば、通常これは簡単です。pearコマンドはphpunitサイトから入手できます。
梨がない場合は、それをインストールする必要があります。適切な「go-pear.phar」ファイルをダウンロードします。通常、実行してインストールしますphp go-pear.phar' and then you can use pear it install phpunit.
You can then call it a day OR you can continue setting up Netbeans to automatically use phpunit.
If you don't setup netbeans then you'll have to just use phpunit on the command line.
After the pear phpunit install just run phpunit on the command line and you should get some sort of 'help' output.
Edit : Step by step details.
I'm going to assume you have xdebug, php, netbeans installed from your comments. It seems like your only issue is installing phpunit.
Here goes.
Open up a command prompt
Open a browser window.
In your browser go to http://pear.php.net/go-pear
Save the text file that comes up into the directory php is installed in.
Go to the php directory php is installed in via the cd command on the terminal.
Type in the command php go-pear.phar
Follow the installation instructions for pear and pick the options that make the most sense. I just install everything in the php directory so php and pear live in the same place.
After pear is installed type in the following commands ( from the phpunit install website : http://www.phpunit.de/manual/current/en/installation.html ) You might have to use sudo here, if you're on windows maybe not.
pear config-set auto_discover 1
pear install pear.phpunit.de/PHPUnit
9 Run phpunit -h
コマンドラインで、ヘルプメッセージが表示されるはずです。Windowsを使用している場合は、これを試す前に、新しいコマンドラインプロンプトを開く必要がある場合があります。