-3

php artisan serveWhy does my command have unkown characters ?

I am using cmd, i have read a lot of stuff but i cant find anyone having same problems with me :3 i can't even upload a photo here newbie problems hehe

1 Answers1

1

As the link that @user2864740 suggests, your terminal is escaping characters that result in the weird codes being displayed (in your case these are to colour the output text).

Your images suggest you are using Windows CMD, try using GitBash. For me this doesn't result in any special characters, however if you still face this issue then update the terminal options to xterm-256 (rather than xterm which is the default) as is suggested in the answer here, and in their source here.

For reference, this is what I get when I run php artisan serve in GitBash:

enter image description here

Community
  • 1
  • 1
James
  • 13,679
  • 11
  • 58
  • 81