Help end medical misogyny. Sign our petition.

Help end medical misogyny.
Sign our petition.

Sign the petition

Please or to access all these features

Geeky stuff

setting up a local server/localhost

6 replies

CanadianJohn · 05/10/2017 18:13

I'm writing a program in PHP/MySQL, and want it to work even when there is no wi-fi. To do this, I need to set up a laptop (or a flash drive) as a portable web server.

This, apparently, is easy. There are lots of online instructions.

However, I can't make it work. I've tried both WAMP and XAMPP. So, I google "why can't I do it" and get a million responses, with technical writers saying it's easy (followed by 20 pages of gobbledegook), and about TWO million people saying "I can't do it either".

I don't know any programmers personally, so I can't twist any arms. I found a couple of freelance programmers who said they could do it, but when I asked them for a price, one made excuses, and the other didn't reply.

Anyone here have any advice?

OP posts:
GrockleBocs · 05/10/2017 23:11

So are you getting the WAMP stack up and running at all?

CanadianJohn · 06/10/2017 01:34

GrockleBocs this is where I am at...
Let's start with WAMP

I installed the 32 bit version, trying to access it on my (old) desktop with Windows 7

"start all services" turns the icon yellow so only 1 service is running
Clicking..
...Localhost returns "this page cannot be displayed"
...PHP MyAdmin returns "this page cannot be displayed"
...www directory brings a folder
...Apache seems to be running (though I'm not sure what I'm supposed to do with it)
...PHP may be running, clicking the link brings a list of settings, etc
...MySQL -> MySQL consol retuns a DOS window, asking for the password(??)

Very frustrating. If you have any thoughts I'd be very grateful

OP posts:
GrockleBocs · 06/10/2017 16:05

I think I've had similar. It's been a long time since I did this. Apache is the equivalent of IIS so you'll need to configure it to use the directory you've put your php files in. Then you'll need to create a db in MySQL and configure php to use that.

CanadianJohn · 07/10/2017 03:49

Thanks for your comments; I couldn't make WAMP work, but XAMPP may be working. Croos your fingers.

OP posts:
meltingmarshmallows · 07/10/2017 05:11

Also check your port, it uses 8888 by default but sometimes apps like Skype are already using it.

New posts on this thread. Refresh page