Forum Moderators: coopster

Message Too Old, No Replies

How do I run a php site locally?

         

ParamountPen

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

10+ Year Member



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.

Habtom

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

WebmasterWorld Senior Member 10+ Year Member



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.

incrediBILL

2:53 am on Apr 3, 2012 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



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.

ParamountPen

4:10 pm on Apr 3, 2012 (gmt 0)

10+ Year Member



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