I had a similar problem and it was because of the path (PATH system variable).
Dec 3, 2022
4
Level 1
Php version in my vs code cli is showing 7.4.24 while in my laragon terminal is showing 8.1.13
Please i need help my php version in vs code is 7.4.24 while in my laragon terminal is 8.1.13, please how i can make my vs code cli to show the php version in my laragon terminal which is 8.1.13.
Level 75
@Ngozistephen ensure the path has the correct php version, if that is also your issue. Like I said it was my issue but it could be something other in your case.
Be careful with the path, read a good tutorial on setting the Windows path before doing anything.
Please or to participate in this conversation.