How-To: Add a LAMP Server to Your Linux Desktop for Development

phpinfo()

Lately I’ve been in the mood to do some PHP/MySQL development for my website. In the past, like most newbie or part-time developers, I would work on some code on my desktop and then uploaded the changes to the remote server and hit refresh — not very efficient. This time around I wanted to see how easy or hard it would be to get a production Linux/Apache/MySQL/PHP (LAMP) server working on my Debian-based Ubuntu desktop (currently running Feisty Fawn 7.04) so I can do all the development and testing locally without disturbing my LIVE remote site. Below are the steps I took to reach my objective. Notice: The instructions require basic to intermediate knowledge of Linux, how to use a Terminal, sudo, apt-get, and understanding of PHP and MySQL interaction. MORE »

Popularity: 42% [?]