php - Vagrant provision command failing with bad interpret -
i new in vagrant. trying setup development environment using vagrant on windows pc. while run following command on terminal:
vagrant --provision
it's stuck following error :
/tmp/vagrant-shell: /tmp/populate_db: /usr/bin/php^m: bad interpret
please let me know feedback why getting above error.
thanks in advance help.
your file has carriage return encoded windows different in linux world.
your solutions:
run file through dos2unix script (http://dos2unix.sourceforge.net)
most advanced editors on windows (ultraedit, notepad++) allows save format of file linux (for example ultraedit has file/convert option convert linux)
Comments
Post a Comment