问题
I am trying to run artisan commands on ubuntu terminal from Windows machine, using Windows terminal and Ubuntu app from Microsoft store.
Tried and searched many times but still no progress.
I tried steps in this question Laravel PHP Command Not Found
as when I am running php artisan ..
error shows "Command 'php' not found, but can be installed with:sudo apt install php7.4-cli"
also I downloaded laravel globally on my windows machine but when I try to run laravel
on ubuntu terminal "/usr/bin/env: ‘php’: No such file or directory" error shows
Thanks in advance
来源:https://stackoverflow.com/questions/64983129/cant-run-php-artisan-on-ubuntu-terminal-on-windows-10-machine