ritwickdey/live-server-web-extension

Put the correct paths in my Live Server Web Extension - Error: PHP NOT FOUND

Closed this issue · 1 comments

Good morning, I have a problem about which route to put on the current server in the Live Server Web Extension, it is to mount a local server with PHP without the need to use Xampp or another web server.

Captura de pantalla (978)

Of course I also installed the PHP Server Extension which is the one that lifts the server with PHP but when I run it it tells me: 'PHP not found'

Captura de pantalla (980)

I've already configured my path within the editor, but I can't find the correct path to put in this extension so that it allows me to get the server up once and for all.

I installed direct php and put it in a folder called PHP8 and in it, an Exercises(Ejercicios) Folder where I have my scripts that are the ones I want to build (Something similar to how Xampp is)

Captura de pantalla (979)

It was resolved.

1.Create the files or folders that we will use within the folder where PHP is installed (Similar to what happens with Xampp's Htdocs and WAMP's www)

2.When Visual Studio Code is opened, the entire folder must be imported, not just the file where we are going to work

3.We set the current server address with our file path, or folder and it works.