title: Yii2 console commands not working linux (basic application)
body: <p>I was trying to add Chiliec/yii2-vote widget to my project. However when I tried to run the migration nothing happens so I tried other commands and they also do nothing <a href="https://i.stack.imgur.com/hHIYD.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/hHIYD.png" alt="Commands in console literally do nothing"></a> </p>
  
  <p>Any help/suggestions would be appreciated.</p>
  
  <pre><code>[kyle@kyle-pc blog]$ ./yii help
  ./yii: line 3: ?php: No such file or directory
  ./yii: line 4: /bin: Is a directory
  ./yii: line 5: assets: command not found
  ./yii: line 6: assets: command not found
  ./yii: line 7: assets: command not found
  ./yii: line 8: syntax error near unexpected token `('
  ./yii: line 8: ` * @copyright Copyright (c) 2008 Yii Software LLC'
  </code></pre>