Search code examples
phpunit-testingphpunitpearhelper

installing PHP_Unit test_helpers


I'm encountering this error while trying to install the test_helpers from here.

**WARNING**: php_bin C:\xampp\php\.\php.exe appears to have a suffix \.\php.exe, but
 config variable php_suffix does not match

**ERROR**: The DSP test_helpers.dsp does not exist. 

Any help?


Solution

  • Fix your php_bin setting by showing it with

    $ pear config-get php_bin
    

    Then fix it (by removing the .\) with

    $ pear config-set php_bin the-new-val