/usr/bin/env: ‘php\r’: No such file or directory

/usr/bin/env: ‘php\r’: No such file or directory

 

 

whene clone new repository  and execute below command:


php init

and

composer install

but execute ./yii migrate


in linux:

./yii migrate

display below error:


/usr/bin/env: ‘php\r’: No such file or directory

solution:
add php befor command


php yii migrate

usr/bin/env: ‘php\r’: No such file or directory

Leave a Reply

Your email address will not be published. Required fields are marked *