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:

  1. run file through dos2unix script (http://dos2unix.sourceforge.net)

  2. most advanced editors on windows (ultraedit, notepad++) allows save format of file linux (for example ultraedit has file/convert option convert linux)


Comments

Popular posts from this blog

python - How to insert QWidgets in the middle of a Layout? -

python - serve multiple gunicorn django instances under nginx ubuntu -

module - Prestashop displayPaymentReturn hook url -