Yii Framework Forum: Unable To Install Phpunit Under Linux & Solution - Yii Framework Forum

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • This topic is locked

Unable To Install Phpunit Under Linux & Solution

#1 User is offline   bettor 

  • Master Member
  • PipPipPipPip
  • Yii
  • Group: Members
  • Posts: 756
  • Joined: 02-February 09

Posted 22 January 2013 - 07:54 AM

For those of you following the book instructions on how to install phpunit under linux and if this command doesn't work for you just like in my case:
pear install phpunit/PHPUnit

try to run the following:
pear channel-discover pear.symfony.com
pear install --alldeps pear.phpunit.de/PHPUnit


This solved it for me on CentOS 5x
0

#2 User is offline   Roger7294 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 6
  • Joined: 28-February 13

Posted 28 February 2013 - 11:25 AM

I had similar problems with Debian 6. Pear alone was not enough. I had to install phpunit using apt-get:

sudo apt-get install phpunit


That resulted in a conflict somehow. After I updated Pear, and removed and reinstalled phpunit it suddenly worked.
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • This topic is locked

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users