i have just instsalled wamp server but when i’m trying to access localhost it is not accessible I think it is problem with the port because wamp uses port 80 by default.
and after that i want to create a dynamic website i’ve never used php in past so i want to know how to get satarted …
thanks
I have tried in another system . I installed wamp and saw that localhost is accesible there but when i connected to the internet by modem wamp server stop working . I am totally confused about this port setting . I have unplugged lan cable from my laptop and restated the system then tried even it is not working .. i have changed httpd.conf file but it doesn’t helps me
First of all change
Listen 80toListen PORT YOU WANTin Apache httpd.conf file.Now in the same file search for the word vhost you will find it three time just uncomment it by removing # from beginning of statement (you will find it two time in one statement) .
Now open http-vhosts.conf file which is inside
C:\wamp\bin\apache\Apache2.2.17\conf\extra\and paste below code with port modification and you are done.Using this you can set more than one port to different directory.
just change
<VirtualHost *:5>this to whatever port you need and restart Apache and all other service.Now Cheers.
Enjoy