How to install an updated version of PEAR / PHPUnit on Ubuntu?
Fresh3 days ago
Mar 15, 202674723 viewsConfidence Score0%
0%
Problem
Most tutorials online show how to install PEAR by doing this: This installs version 1.6.1. It works great because it's super easy! My problem is that I want to install PHPUnit and it requires PEAR version 1.8.1 so my install of PHPUnit failed. So how do I install a newer version of PEAR on Ubuntu?
Error Output
sudo apt-get install php-pear
Unverified for your environment
Select your OS to check compatibility.
1 Fix
Canonical Fix
Unverified Fix
New Fix – Awaiting Verification
Fix for: How to install an updated version of PEAR / PHPUnit on Ubuntu?
Low Risk
First, install PEAR. Next, tell PEAR to update its own channel. Then, tell PEAR to upgrade itself to the newest version. You should now have the newest version of PEAR installed. To install PHPUnit, let PEAR know where to find PHPUnit. Then install …
Awaiting Verification
Be the first to verify this fix
Sign in to verify this fix