To install lamp with PDO on Ubuntu (worked on rackspace server)

To install lamp with PDO on Ubuntu (worked on rackspace server)
http://churchit.com/php-pdo-errors-while-installing-ubuntu-10-4-php-5-3… (here's a linkback for this guy that saved me from loosing even more time on this since apt-get didn't install pdo)

sudo tasksel install lamp-server
sudo a2enmod rewrite (to enable mod rewrite)