Naing Lin Aung
Naing Lin Aung

Reputation: 3430

Installing PHPUnit without using pear

How can I install PHPUnit without using PEAR (and offline)?

I'm currently using Window Vista with XAMPP.

Upvotes: 1

Views: 2304

Answers (3)

user1086985
user1086985

Reputation:

Nowadays PHPUnit is available as a single file, which takes care of all its dependencies. See this answer for installation details:

NetBeans + multiple php versions + phpUnit without PEAR

Upvotes: 1

Naing Lin Aung
Naing Lin Aung

Reputation: 3430

thz . Mine is just copy and paste the whole php folder from successor one to me . all fine now .

Upvotes: 0

cweiske
cweiske

Reputation: 31078

You don't really want that. See the dependencies on http://www.phpunit.de/manual/current/en/installation.html - installing them manually is a pain.

What you could do is downloading all pear packages on one machine with pear download $packagename and installing them on the offline machine with pear, too - but offline.

You'll also need phpunit's channel.xml file to get the channel registered offline, http://pear.phpunit.de/channel.xml.

Upvotes: 2

Related Questions