Install phpunit in ubuntu

Source: Internet
Author: User
Phpunit installation error message in ubuntu: CalltoundefinedmethodPHP_CodeCoverage_Filter: getInstance () first: www.2cto. comIfyouhaveproblemswithaccessingcomponentstryanotherway. Inst...
Error message for installing phpunit in ubuntu: Call to undefined method PHP_CodeCoverage_Filter: getInstance () first: www.2cto.com If you have problems with accessing components try another way. install pear sudo apt-get install php-pear Install phpunit by using pear. pear config-set auto_discover 1 pear install pear. phpunit. de/PHPUnit Install phpunit/Selenium, but first you need to install curl module sudo apt-get install php5-curl pear install phpunit/PHPUnit_Selenium Type 2: sudo apt-get remove phpunit www.2cto.com sudo pear channel-discover pear.phpunit.de sudo pear channel-discover pear.symfony-project.com sudo pear channel-discover components. ez. no sudo pear update-channels sudo pear upgrade-all sudo pear install -- alldeps phpunit/PHPUnit sudo pear install -- force -- alldeps phpunit/PHPUnit author wufa

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.