MyBB Community Forums

Full Version: How do you simulate localhost
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3
I am currently using Wamp for testing my webstuff out etc but just wondered what other options are out there?

i have tried XAMMP before and never really got on with it

what do you use and why?
I personally am on a linux machine so I've just got a simple LAMP stack installed.
i had considered that on one of my old laptops may fire it up and see if i can figure it out.
It's fairly easy to do. If you choose a debian based distribution, simply follow this guide: https://help.ubuntu.com/community/ApacheMySQLPHP
EasyPHP is pretty straight forward to install and get set-up.
(2012-04-03, 07:54 PM)euantor Wrote: [ -> ]It's fairly easy to do. If you choose a debian based distribution, simply follow this guide: https://help.ubuntu.com/community/ApacheMySQLPHP

Also OP, if you run windows you can do this same process too (not word for word; rather, you can install those same components on a windows machine). (and Mac I'd imagine)
(2012-04-03, 11:03 PM)Scoutie44 Wrote: [ -> ]
(2012-04-03, 07:54 PM)euantor Wrote: [ -> ]It's fairly easy to do. If you choose a debian based distribution, simply follow this guide: https://help.ubuntu.com/community/ApacheMySQLPHP

Also OP, if you run windows you can do this same process too. (and Mac I'd imagine)

Good point Scoutie. I've never tried setting up a localhost on windows without just using XAMPP though - I prefer the easy option.
I've found XAMPP to be a bit finicky at times, opting to go the long route and install everything individually wasn't all that much work though.
On most debian-based-or-like systems (including Ubuntu, and even jailbroken iPhones IIRC):
sudo apt-get install apache
sudo apt-get install mysql
sudo apt-get install php
firefox http://localhost/

CLI is not scary. It makes installing and running programs so easy it's not even funny. Just copy/paste that into a terminal and have at it. Of course the last one will fail if you don't have Firefox installed, in which case shame on you (you're a web dev, you need it to at least test).

Note: I may not have gotten the names of those packages right. At worst, it'll say it didn't find them. Most systems you can find them yourself by typing the first few characters of the package name, then pressing [tab], giving a list of options.

When I'm on my Windows boot, I use the manually-installed Windows equivalent. I've gone a step further and made it so that Apache and MySQL don't start on boot (services.msc->set apache and mysql to manual startup), and have a batch that launches them and a web browser pointing to localhost. That way I can test when I want to dev, and game when I don't, and get faster boot times.
XAMPP is the easiest as far as I know. There are choices in every category.
mobile = Nokia
Forum = Mybb
social network = facebook
server = XAMPP Wink
Pages: 1 2 3