This will probably be one of many Damn Small Linux things I post because I enjoy working with DSL because of its small size and small footprint. Some computers just can't handle much else. I know, I know, why don't I get better hardware? Because I like making old stuff do new stuff. It's a hobby of mine.
This tutorial assumes you're in need of the LAMP Stack (Linux, Apache, MySQL, and PHP). I'm going to be doing this in a Virtual Machine (512MB of RAM), but it should work on any physical hardware you have.