I'm trying to configure behat and seeing an error - failed to open stream: No such file or directory in /usr/bin/behat
问题 PHP Warning: require_once(behat/autoload.php): failed to open stream: No such file or directory in /usr/bin/behat on line 23 PHP Fatal error: require_once(): Failed opening required 'behat/autoload.php' (include_path='.:/usr/bin/pear:/usr/lib/php:/Users/steve/perforce/') in /usr/bin/behat on line 23 Any ideas what might be causing this?? 回答1: do you have the file at one of the following places :/usr/bin/pear/behat/autoload.php OR :/usr/lib/php/behat/autoload.php: OR /Users/steve/perforce