phpwindows-7phpunitpeareasyphp

How to install PEAR with EasyPHP 5.3.8?


I'm learning Yii and following ebook written by Jeffrey Winesett, the application is built upon TDD. So I need to install PHPUnit to write unit test, which leads me to posts help installing PEAR for my Windows 7 (ref. link 1, link 2).

And in those above sites, the author keep telling to use go-pear.bat which doesn't exist in my EasyPHP 5.3.8 which also be the latest version at the time of speaking.

Even in this EasyPHP forum post we cannot find the answer.

So the question is, how to install PEAR with EasyPHP 5.3.8?

I'm using:


Solution

  • the script go-pear.php doesn't work on some new php version. My solution :

    dowload in php folder the file from http://pear.php.net/go-pear.phar

    (use the windows console in mode admin) and from php folder type : php go-pear.phar