Jump to content

PHPUnit correct installation


Equinoxium

Recommended Posts

Hi,

 

I'm new on PHPUnit and ZF2. At the moment I learn ZF2 from the programmer reference book.

I work with XAMPP 1.8.1 (current version) on windows vista. I have reinstalled the XAMPP.

I will now install PHPUnit on this, I have read a lot of installation guides, but I get some errors. For example: http://binsoy74.wordpress.com/2012/11/01/installing-phpunit-on-windows-8-windows-7-vista/

 

I have excute: "pear update-channels"

And then: "pear install phpunit/PHPUnit" I get the message:

 

No release available for package "pear.phpunit.de"

install failed

Link to comment
https://forums.phpfreaks.com/topic/281157-phpunit-correct-installation/
Share on other sites

It's easier to install phpunit and zendframework through composer. Download composer.phar and put it inside your project directory. Then using the commandline type:

 

$ composer.phar require phpunit/phpunit zendframework/zendframework

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.