brapifra / vscode-phpserver

Visual Studio Code extension to quickly serve your PHP projects :)
89 stars 29 forks source link

Error #125

Open woje123 opened 1 year ago

woje123 commented 1 year ago

Hello,

I don't know what the problem is, I always get an error PHP not found whats the problem?

Bildschirm­foto 2023-01-05 um 15 53 07
Javijandro14 commented 1 year ago

Hi @woje123!!! I think I found the massive issue that you have and I also had as well!! First! make sure that you can load your project with this command in the terminal php -S 127.0.0.1:3000, this just loads a page in your local machine the old fashion way! If it works, then go to VSCode, and make sure that the extension settings for one of them called "Relative Path", if you find a period in there, TAKE IT OFF, i have no idea why its there, I had months of checking if it was my php that was bad, but it was this issue image

I'm guessing if there is any other symbol you should take it off as well, hope this helps!