0

I run this on the command line: phpunit --version

I get the following errors:

PHP Warning:  require_once(File/Iterator/Autoload.php): failed to open stream: No such file or directory in /usr/lib/php/pear/PHPUnit/Autoload.php on line 45
PHP Fatal error:  require_once(): Failed opening required 'File/Iterator/Autoload.php' (include_path='.:/Users/dennismonsewicz/pear/share/pear:/usr/local/share/pear:/usr/lib/php/pear/PHPUnit') in /usr/lib/php/pear/PHPUnit/Autoload.php on line 45

Anyone else run into these issues? It is also causing me issues when I try to run my tests via the command line.

2
  • 2
    Botched installation, or incorrectly configured include_path. See PEAR documentation for more information: pear.php.net/manual/en/installation.checking.php Commented Jan 13, 2013 at 23:25
  • It was my include_path.. thanks! Commented Jan 13, 2013 at 23:28

1 Answer 1

3

Ended being an issue with my include_path

This is my updated include path

include_path = ".:/php/includes:/usr/lib/php/pear"
Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.