Error in Virtualmin, mysql_connect Not Found.

2 posts / 0 new
Last post
#1 Wed, 09/30/2009 - 01:05
MDS85

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

Wed, 09/30/2009 - 08:15
andreychek

Howdy,

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

-Eric

Topic locked