06-01-2011, 09:19 PM
Hey, i'm trying to setup MyPHPAdmin so I can setup some databases on my laptop locally. I have got MySQL and PHP installed and also have the server setup.
When I go to load the setup file:
All my currently installed web browsers (Firefox(Nightly), IE) ask how I want to SAVE the file or what i want to OPEN it with. I'm going to guess that I need to change a setting on my server so that web browsers run the PHP file as a webpage?
06-01-2011, 09:36 PM
Yeah that's a PHP install problem, not phpMyAdmin. Do any PHP files get parsed? You'll need to troubleshoot the PHP install.
Or, even easier, just use XAMPP. I can't imagine how it could get any easier to setup and use a local webserver on Windows. And then you don't have to bother with IIS.
06-01-2011, 09:52 PM
This XAMPP, can I simply install it and then use PHP and MySQL ect instantly? I only want it installed so I can code a website locally, saves uploading each file when I change a tiny bit of code.
06-01-2011, 10:04 PM
Yes, that's exactly the purpose of XAMPP and it works great.
You can even stick it on a USB drive for a mobile development environment.
06-01-2011, 10:13 PM
Awesome thanks I will give it a try in a bit :)
06-01-2011, 11:02 PM
Just installed it and it told me to disable UAC in order for it to work properly, is there a way to get around this as i'm not really up for doing that as I prefer to know what programs change on my computer, and UAC tell you this.
06-01-2011, 11:29 PM
They're not requiring that you disable UAC permanently, only for the install of XAMPP. Read:
They haven't updated for Win7 but it's the same reason. Flip UAC back on once you're done installing.
06-01-2011, 11:45 PM
Okay thanks, it seems to have been installed fine. Noob question, once installed there will be a folder which anyone on the Internet can access correct?
Well where is it and how do I link people to this?
For example if i put an image in a folder how could I all another person to view this?
06-02-2011, 04:52 AM
Wrong, this is a LOCAL web server, meaning it is local to your machine and your machine alone. At least that's what it's intended for. XAMPP's default web server, MySQL and PHP configurations are not secured as an outward facing web server so if you do decide to expose your machine's IP address to the WWW then you will need to tighten up the settings to make it secure against malicious attacks. The bottom line is you shouldn't do this, and most residential internet connections won't let you anyway.
You put your website in c:\xampp\htdocs. That's your web root. Then point your browser to http://localhost.