pear
Installing PHP Zip Extension in CentOS
This is how I installed it on my machine (ubuntu): php 7: sudo apt-get install php7.0-zip php 5: sudo apt-get install php5-zip Edit:Make sure to restart your server afterwards. sudo /etc/init.d/apache2 restart or sudo service nginx restart PS: If you are using centOS, please check above cweiske‘s answer But if you are using a Debian … Read more
How to install an older version of PHPUnit through PEAR?
You need to know the exact version number you wish to downgrade to. At the time of writing, the last release you’re after is 3.3.17, which can be found out by checking the appropriate PEAR channel. To downgrade to that particular version execute two commands: pear uninstall phpunit/PHPUnit pear install phpunit/PHPUnit-3.3.17
How to uninstall a pear package?
pear uninstall [options] [channel/]<package> So if you wanted to uninstall PHPUnit pear uninstall phpunit/PHPUnit Note: remember to preface with sudo or you won’t have permission to uninstall anything.