Running commands only in Cmder?
-
Hello,
when I run things like "php artisan" or "composer dump-autoload" in cmder it works but outside of cmder (powershell, cmd) I get many errors. Yes I'm in the correct path. I would like to use Visual Studio Code's integrated console and I can't use it like that...If you want screenshots I can send them.
Thanks for your help
-
@Tom_Thomson : You can use Menu > Tools > Path > Add Laragon to Path
-
Thanks for your reply, I tried that already, but It doesn't seem to work for me
Yes, I restarted my PC
-
@Tom_Thomson : Can you run:
php --version
and show me the result. I guess you have another PHP version different from Laragon.
-
@leokhoa Thank you that was exactly the problem. I had another software installed a long time ago wich also installed php. It works now for me
-
@Tom_Thomson : Great! I'm glad to hear the problem sorted. That why Laragon is isolated so you can change PHP version without worrying about conflicts.