Error in Virtualmin, mysql_connect Not Found.

I just installed the Virtualmin GPL today on a fresh install of Debian Lenny, the install was as smooth as can be and I was quite impressed, however after having tried to install a site that needed a database, it was not able to connect.

ERROR: Function ‘mysql_connect’ not found! Check if MySQL is properly set up. And that PHP has the MySQL extension installed.

Does GPL include mysql_connect, or is this something that must be done manually?
If I can get this to work I was considering purchasing Pro.

Thank you


Sounds like you need the php5-mysql package – you can install that by typing “apt-get install php5-mysql” on the command line.