0
Does anyone know how to run a visual studio code php project with a wamp server?
4 Answers
+ 1
Make it specific. Where you need help?
+ 1
There is only one way to run the php code with frontend. You have to change the project root folder into wamp subfolder called "www"(wamp installed location/wamp/www) then you can run localhost you project will be hosted in http://localhost/(project root folder)
If you want to use it effectively open your project in wamp/www folder with visual studio code chage the code from there and refresh the page you'll see the chages in Bowser.
You can chage the php root folder from www to your project folder if you want
Edit the httpd.conf file and/or the vhosts.conf file for the site wish to change. The Directory directive will let you specify where the files for this site are to be located.
For more info on httpd.conf see:Â http://httpd.apache.org/docs/2.2/configuring.html
And specifically:Â http://httpd.apache.org/docs/2.2/mod/core.html#directory
0
HARITEJA KODURI as soon as I change my html project into a php one through my virtualHosts I don't see any changes at all. I also downloaded a php debug extension but nothing happened. But if a replace everytime my new project in my directory root I can finally see it. There must be a way to connect it
0
I worked!! Thank you so much âșïž