Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

mkdesign82's avatar

Cant Run php artisan from power cmd command line

Hi , I want to run php artisan from command line . yes i can do it from regular command line but when I tried to start it from power cmd(cool command line) then nothing w'll return for me . and nothing has happend can any one know what's the problem ?

0 likes
2 replies
sebwas's avatar

Most probably has to do with your PATH or other environment variables that are not / wrongly set in your tool (which I don't know). You probably have to set your PATH variable to include your PHP executable.

mkdesign82's avatar

will , If you are saying that there are no php path in my windows environment ? i have saw it and yes there are php path. but i dont know really why it does not run from power cmd .

Please or to participate in this conversation.