This post will show you how to setup a LAMP [linux apache mysql php] development environment in linux mint or ubuntu
firstly, open a shell.
then, type
sudo apt-get install tasksel
once you have installed tasksel then you can
sudo tasksel install lamp-server
this will download and install mysql, apache and php for you :)