Can't use MySQL in PHP

I installed Virtualmin on a Ubuntu machine. After I created my virtual server, my PHP scripts are not able to connect to MySQL. I run phpinfo() and find out there is no MySQL libraries loaded.
May I know how to enable this?

I have fixed this. Just run

sudo apt-get install php5-mysql