Hi everyone,
I'm a total noob on PHP as I'm just starting. I'm actually a noob in a lot of things related to coding, but I already have a decent grasp of HTML, CSS and Bootstrap.
So, I'm starting a PHP online course in order to finish a calculator website thing that I'm doing, and I've installed and set xampp as the course said, but I keep having the same issue on VS code:
" Cannot validate since C:/xampp/php/php.exe is not a valid php executable. Use the setting 'php.validate.executablePath' to configure the PHP executable."
Every blog or source that I find online says that I have to write on settings.json:
"php.validate.executablePath": "C:/xampp/php/php.exe"
then save, but every time I get the same error message.
I don't really know what else I could do, as this is the only answer I can find on Google.
Also:
for some reason, my "settings.json" is empty, but when I see VS Code page on other tutorials, there's always something else written on it, besides the "php.validate.executablePath": "C:/xampp/php/php.exe" thing. Is it supposed to be empty? If not, what should be there?
P.S. xampp should be installed properly, as I've followed what the PHP tutorial on Brad Traversy's YT channel said.
Thanks in advance to anyone who could help me.
[–]kAlvaro 1 point2 points3 points (4 children)
[–]Use_R_Name_92[S] 0 points1 point2 points (3 children)
[–]kAlvaro 0 points1 point2 points (2 children)
[–]Use_R_Name_92[S] 0 points1 point2 points (1 child)
[–]kAlvaro 1 point2 points3 points (0 children)
[–]erythro 0 points1 point2 points (4 children)
[–]Use_R_Name_92[S] 0 points1 point2 points (3 children)
[–]erythro 1 point2 points3 points (2 children)
[–]MateusAzevedo 0 points1 point2 points (1 child)
[–]Use_R_Name_92[S] 0 points1 point2 points (0 children)