The current version of PHPUnit is 3.6, but until I update my code, I need to use 3.5.15 instead. I have many problems trying to install 3.5.15.
I start with a clean installation of Zend Server, on which several basic PEAR packages are installed. I open pear.phpunit.de and pear.symfony-project.com. Then I try to install 3.5.15 from the url, but it fails:
# pear install http:
Next, I try to install from the downloaded file, but this also fails:
# pear install ~/Desktop/PHPUnit-3.5.15.tgz Duplicate package channel:
And then from PEAR directly ... which installs 3.6 instead of what I requested!
# pear install phpunit/PHPUnit-3.5.15 phpunit/PHPUnit can optionally use package "pear/XML_RPC2" phpunit/PHPUnit can optionally use PHP extension "dbus" phpunit/DbUnit requires package "phpunit/PHPUnit" (version >= 3.6.0), downloaded version is 3.5.15 phpunit/PHPUnit requires package "phpunit/DbUnit" (version >= 1.0.0) phpunit/PHPUnit can optionally use package "phpunit/PHP_Invoker" (version >= 1.0.0) downloading File_Iterator-1.3.0.tgz ... downloading Text_Template-1.1.1.tgz ... downloading PHP_CodeCoverage-1.1.0.tgz ... downloading PHP_Timer-1.0.2.tgz ... downloading PHPUnit_MockObject-1.1.0.tgz ... downloading PHPUnit_Selenium-1.1.0.tgz ... downloading YAML-1.0.6.tgz ... downloading PHPUnit-3.6.0.tgz ... downloading PHP_TokenStream-1.1.0.tgz ... install ok: channel:
Even using the -f option to try to force the version I requested to install does not change anything.
How do I install 3.5.15?
source share