Assemble PEAR and PHPUnit in Windows

Source: Internet
Author: User
Install PEAR and PHPUnitPS in Windows: original article. if you need to reprint it, please specify the source. thank you !???? Address: flyer0126.iteye. comblog1441817? Install PHPUnit in Windows. Test the installation environment: Windows 7 (win32) + Apache (2.2.13) + Windows environment to install PEAR and PHPUnit

PS: original article. if you need to reprint it, please specify the source. thank you !????

Address: http://flyer0126.iteye.com/blog/1441817

?

Install PHPUnit in Windows.

Test the installation environment: Windows 7 (win32) + Apache (2.2.13) + PHP (5.3.6)

1 .??? Open the console window as an administrator;
2 .??? Go to the php installation directory and configure and install the PHP environment before installing PEAR;
3 .??? First install PEAR:
??????? > Go-pear.bat
??????? Then press Enter)
4 .??? If you are prompted that the default extension package of PEAR is installed, you are prompted to configure the include_path option in the php. ini file to point to the installation directory of pear. enter "Y" and press enter;
5 .??? Close this console window. double-click the File "PEAR_ENV.reg" to import the relevant information to the registry. restart Apache;
6 .??? Open a new console window as an administrator;
7 .??? Next, you can install PHPUnit:
??????? > Pear channel-discover pear.phpunit.de
??????? > Pear install phpunit/PHPUnit
8 .??? If you are prompted that the installation failed, it should be a version problem and you need to download the update:
??????? > Pear upgrade-all
??????? You can view the version information through pear-V.
9 .??? After the update is complete, you can re-install PHPUnit:
??????? > Pear channel-discover pear.phpunit.de
??????? > Pear install phpunit/PHPUnit

??????? If an error occurs:

????????? No releases available for package "pear.phpunit.de/PHPUnit" install failed.
10 .??? The solution is as follows:

??????? > Pear clear-cache (clear error record information cache)

??????? > Pear install-a-f phpunit/PHPUnit (reinstall)
11 .??? Installation complete!

?

?

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.