A guide to installing a LAMP server and phpMyAdmin on Ubuntu Desktop, including MySQL setup and php.ini configuration.
These notes cover the easy installation of a LAMP server and phpMyAdmin onto the Ubuntu Desktop environment, with additional notes on the php.ini file and Magic Quotes. For installation onto a server environment, the server manual should be used.
The guide explains how to add LAMP using tasksel, set the MySQL root password, install phpMyAdmin through Synaptic Package Manager, configure apache2, and switch between php.ini production and development security versions.
Run sudo tasksel, select LAMP server with the space bar, tab to OK, and press enter.
Magic Quotes are off by default with 10.04.
Run sudo /etc/init.d/apache2 restart.