I’ve had to install a LAMP (Linux, Apache, MySQL, PHP) server before, and it can be quite a hassle. Well under Feisty 7.04, it seems like the process is a lot more painless. Thanks to the wonderful Ubuntu Guide Wiki for Feisty Fawn 7.04 (which is where I start for instructions on setting up most things in Ubuntu), I found this fantastic little tip. You can install a complete LAMP server package from the Synaptic Package Manager:
System-->Administration-->Synaptic Package Manager-->Edit-->Mark packages by Task-->LAMP Server-->OK
Then apply the packages update, and all is done for you. So far, it looks like Apache 2 and PHP5 have been set up for me properly. I’ll test some more, but this was a real timesaver compared to the last time I did this.