So here i found myself needing to make use of a Lamp server on my laptop.
There’s literally thousands of guides about how to achieve this. Fact is that, on Ubuntu 8.04 (Hardy Heron ), it can be reduced to a few easy steps, and all the trick is done.
Once more, for the sake of clarity, and to spare some time:
sudo apt-get install mysql-server-5.0
sudo apt-get install apache2
Install php and the apache module for it
sudo apt-get install php5 libapache2-mod-php5
Reboot apache (very important)
sudo /etc/init.d/apache2 restart
PhpMyAdmin, if you need it
sudo apt-get install phpmyadmin
That’s all folks!