Can't use MySQL in PHP

2 posts / 0 new
Last post
#1 Sat, 11/14/2009 - 19:47
seikan

Can't use MySQL in PHP

Hi, 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?

Sat, 11/14/2009 - 22:27
seikan

I have fixed this. Just run

sudo apt-get install php5-mysql

Topic locked