Does anyone know how to run a visual studio code php project with a wamp server? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Does anyone know how to run a visual studio code php project with a wamp server?

17th Apr 2020, 3:52 PM
Silvia Rabino
Silvia Rabino - avatar
4 Answers
+ 1
Make it specific. Where you need help?
17th Apr 2020, 5:16 PM
HARITEJA KODURI
HARITEJA KODURI - avatar
+ 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
18th Apr 2020, 12:45 AM
HARITEJA KODURI
HARITEJA KODURI - avatar
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
17th Apr 2020, 6:12 PM
Silvia Rabino
Silvia Rabino - avatar
0
I worked!! Thank you so much ☺️
18th Apr 2020, 6:54 AM
Silvia Rabino
Silvia Rabino - avatar