These forums are locked and archived, but all topics have been migrated to the new forum. You can search for this topic on the new forum: Search for Can't use MySQL in PHP on the new forum.
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?
I have fixed this. Just run
sudo apt-get install php5-mysql