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!
?
?