Phpunit installation problems

Source: Internet
Author: User
Phpunit installation problems today I tried to install phpunit and found many problems. I have to install phpunit using pear. first install pearphp root directory execute phpgo-pear.php one way press enter, met (y/n) select y will finally generate a PEAR_ENV.reg registry file, double-click it, import information to register phpunit installation problems
I tried to install phpunit today and found many problems. I have to install phpunit using pear.
Install the pear php root directory first
Run
Php go-pear.php

Press enter all the way and select y if you encounter (y/n ).
Finally, a registry file of PEAR_ENV.reg will be generated. double-click it and import the information to the registry to use pear.

I failed to install phpunit several times. The main problem is that the pear version is too low. we recommend that you first check whether the pear version is too old. we recommend that you upgrade it to 1.9 or above.
View version
Pear-V

Upgrade
Pear install -- force PEAR-1.9.4

Update
Pear upgrade-all -- force

-- Force = force

Add Channel
Pear channel-discover pear.phpunit.de

Install
Pear install -- alldeps phpunit/PHPUnit


Problem:
Insufficient memory during installation
Memory_limit = 20 M. you just need to change the value after the upgrade.
The key is to upgrade pear to ensure that all key dependencies are installed.

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.