Created
January 3, 2017 18:55
-
-
Save ishansharma/01d67df6f4baed3a29f8b75dc490dd0c to your computer and use it in GitHub Desktop.
You may see this error when trying to run PHPUnit tests in Vagrant using PHPStorm. Here's a fix: http://ishan.co/?p=2086
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
PHP Fatal error: Uncaught exception 'UnexpectedValueException' with message 'Cannot create phar '/usr/local/bin', file extension (or combination) not recognised or the directory does not exist' in /home/vagrant/.phpstorm_helpers/phpunit.php:181 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
cd /usr/local/bin/
sudo cp phpunit phpunit.phar