php, mysql, Joomla

I was trying to install Joomla and the pre-requisites specified mod_mysql. I have installed the mysql component for php before but the mistake I did now was searching for mod_mysql all over to see how to enable it, all I had to do is just install mysql for php using any installation instruction out there on the web.

on ubuntu just used
$sudo apt-get install  php5-mysql