Welcome to WebmasterWorld Guest from 54.163.129.96

Forum Moderators: coopster & jatar k

Message Too Old, No Replies

How do I run a php site locally?

     
1:25 am on Apr 3, 2012 (gmt 0)

New User

joined:Apr 2, 2012
posts: 2
votes: 0


Hello!
I've installed wampserver and thought I would have a place kind of like a cpanel to load my files. It said installation was succsessful and it looks a lot like a php admin and a place to work on mysql files but I'm trying to work on a php site without a data base - instead I'm using a .txt file and I'm doing this from a computer not connected to an internet. thanks for any help.
1:43 am on Apr 3, 2012 (gmt 0)

Senior Member

WebmasterWorld Senior Member 10+ Year Member

joined:Nov 15, 2004
posts:1867
votes: 0


Assuming you are on Windows operating system, your root folder is most probably here: C:\wamp\www

Create a folder/directory in that path, and just access it from: http:// localhost/YOURFOLDER

Make sure your wampserver is running.
2:53 am on Apr 3, 2012 (gmt 0)

Administrator from US 

WebmasterWorld Administrator incredibill is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month

joined:Jan 25, 2005
posts:14650
votes: 94


I always recommend running a local web server on anything but port 80 so any outside probes don't know where to look on your machine to avoid getting easily hacked.
4:10 pm on Apr 3, 2012 (gmt 0)

New User

joined:Apr 2, 2012
posts: 2
votes: 0


Hey Thanks a lot,
That works better than I expected.