Can't run php artisan on ubuntu terminal on windows 10 machine

走远了吗. 提交于 2021-01-29 07:12:01

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!