Skip Navigation

One-Click LAMP

It occurred to me while chatting to a couple of other developers this week that an awful lot of PHP developers work on Windows. While this may not be a startling revelation, it did make me wonder how much trouble someone who's never dabbled in Linux would have getting a standard LAMP setup going by themselves (for a development environment). Personally, I found Linux software installation to be quite tricky, when I started using Linux more, and were I just using it to get LAMP going I might have given up on it. Which in turn made me wonder - is there a Linux distro that is nice and easy to install, and comes with LAMP all set up?

17 comments

 United Kingdom #1: March 27, 2006
Most distrobutions come with Apache installed, sometimes PHP as well but I haven't seen one with MySQL installed.

I have always been hosted by Linux servers but I have always had cPanel to help me but I am starting to use more command line to do things.
 United States #2: March 27, 2006
I'm a Linux geek, so setting up LAMP servers is no problem for me. However, pretty much every distro I've installed has had Apache, PHP, and MySQL as options when installing the system. They might not be checked by default, but they are there.

By the way, your commenting "Remember Me" thing tried telling me I was Matt [above]...
Nando Vieira
Brazil #3: March 27, 2006
I use Ubuntu. LAMP goes easy using Synaptic (GUI for apt-get).

Even on shell is easy. Something like
"apt-get install php5 mysql-server apache2" or something like that.

You should try that.
Whoops! Thanks Joey - I turned a caching system on and it's decided to cache the last person's details. I'll be turning that off ... now.

I'm quite happy setting up LAMP myself - was just curious really if there was a specific distro that included everything by default - pretty much ready to go out of the box. A zero-config, quick and easy LAMP install package ...
try XAMPP. Not only is it a preconfigured LAMP stack, it is always the latest one. Great for a developer's home environment, not so great for a production site, as it is not very secure by default.
 Netherlands #6: March 28, 2006
I'm no linux-geek. not a geek at all actually. It strikes met that there's a tendency to make things appear quasi-simple in the (open source) programming world. Everything is advertised as easy to learn en do. But eventually you have to learn, really learn. And there's nothing wrong with that. What's use of pre-installed if I can't find my way through the .ini? or worse not even to the .ini at all? at some point I'll have to. Let alone the hours to gather programming skills. Installation is the least of my worries, really.
Matthijs
United Kingdom #7: April 3, 2006
I use Xampp as well, have used phpdev http://www.firepages.com.au/ and even have some sets on usb sticks (http://www.chsoftware.net/en/useware/wos/wos.htm) that's ultimate cool stuff, running a complete AMP setup on a stick :) Even switching between php4 and 5 is a matter of clicking one button.
 United Kingdom #8: April 4, 2006
You know what you're missing.... a cheat cheat-sheet.

Anyway, easyPHP all the way!
 United States #9: April 5, 2006
I haven't tried it myself, but you might want to look at the SME Server (which used to be at e-smith.org):

http://contribs.org/modules/news/

You manage it through a web interface, and here is the feature list from the site:
* Sharing of a single Internet connection between multiple computers
* A network firewall to protect against Internet intruders
* A robust email server, which includes virus and spam filtering and webmail
* File and print sharing
* Web application server, including support for MySQL, Perl and PHP
* Secure remote access
* Supported languages: Deutsch, English, Español, Français and Italiano, with more on the way
* Complete binary compatibility with the leading Linux server distribution
* and much more
Keith, UK
United Kingdom #10: April 11, 2006
XAMPP is the best I have found to date.

http://www.apachefriends.org/en/xampp.html

Apache, MySQL, PHP & PEAR, Perl, ProFTPD, phpMyAdmin, OpenSSL, GD, Freetype2, libjpeg, libpng, gdbm, zlib, expat, Sablotron, libxml, Ming, Webalizer, pdf class, ncurses, mod_perl, FreeTDS, gettext, mcrypt, mhash, eAccelerator, SQLite and IMAP C-Client

And loads of versions, so you can get a configuration that closely matches your 'live' web server.
Thanks everyone - that's all good info. I think I'll go for XAMPP - looks like it makes the whole process nice and quick and easy.

@ bro:

I'm inclined to agree, to an extent. Thing is that most of my stuff is hosted on managed servers - I have no need to manage them myself, and don't really have the time to spend learning the ins and outs of server management. Where all I want is a dev environment, the important thing is to have something that can be set up quickly and with minimum fuss - and work straight away.
]V[
Netherlands #12: April 17, 2006
i am looking at Slampp right now, and really like the way it all come preconfigured/ preinstalled. i'd like to see more of it. minus is that it still runs slackware 10.1 and lacks open vpn.. but otherwise one of the best (home) server solutions i've come across.

Kind Regards, Martijn Beekhuis

p.s. http://slampp.abangadek.com/
 United States #13: May 12, 2006
Ubuntu if you want something easy. It's pretty simple to install apps...something like this at the command line will get you there:

apt-get apache
apt-get mysql
apt-get php/perl/python


Gentoo is nice, but it had a steep learning curve for me. Good if you really do want to learn linux though. And the merging is nice with config files, so they don't get wiped out or unchanged.
zoondev
United States #14: June 22, 2006
Ubuntu 6.06 is the way to go. The server version installs and configures a LAMP server automatically.
For Linux Users, I'd recommend XAMPP for Linux. http://www.apachefriends.org/en/xampp-linux.html

For the control panel, download the add-on at: http://addons.xampp.org/cgi-bin/search.pl?pid=32

The Control Panel works well. Allows you to start services: Apache, MySQL, etc., as well as switch between PHP4 and PHP5.
Andrew Holway
United Kingdom #16: January 19, 2007
Its good! keeps out the riff raff.

Or just get any 'server' distro

Red Hat server,
Ubuntu server,
etc
etc

andrew dot holway at gmail dot com
all I can say is Gentoo !!! emerge apache php mysql

Post Your Comment

· Comments with keywords instead of a name have their URLs removed.
· Your email address will not be displayed or shared.

Live Comment Preview

 United States #18: 1 minute ago