Windows assembly pear and PHPUnit

Source: Internet
Author: User
Windows installation pear and PHPUnit
Wamp environment, install pear extension, encountered some problems, recorded as follows.

Problem: Pear does not has a signaturephp ....
FIX: Modify the php.ini file, locate, Phar.require_hash, remove the comment, and then change to
Phar.require_hash = Off

Problem: Unable to find require_once (structures/graph.php) ...
FIX: View pear directory, found no structures folder, is missing file caused. Then download the file, unzip, and then the extracted files under the structures directory copy to the PEAR PEAR directory, Shape: pear\pear\sturctures

Problem: Unable to find file require_once (structires/graph/node.php)
Resolution: Open the appropriate PHP file, the initial judgment is a file reference, did not find the corresponding file. Modify the appropriate path:


Require_once ' pear/structures/graph/node.php ';


Require_once ' pear/structures/graph.php ';


Require_once ' pear/structures/graph.php ';
Require_once ' pear/structures/graph/node.php ';


Require_once ' pear/structures/graph.php ';
Require_once ' pear/structures/graph/node.php ';
Require_once ' pear/structures/graph/manipulator/acyclictest.php ';

4. Update Pear:pear Upgrade

5. Installing Phpunit:pear Install Phpunit/phpunit
  • Related Article

    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: 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.