Submitted by hescominsoon on Mon, 11/08/2010 - 19:29 Pro Licensee
I've been trying to install joomla 1.5.22 and it keeps saying i do not have mysql support. Same for wordpress. Virtualmin says all checks pass. Any ideas?
Status:
Closed (fixed)
Comments
Submitted by andreychek on Mon, 11/08/2010 - 19:33 Comment #1
Howdy -- it sounds like you may need the "php5-mysql" package. You can install that by logging into the command line as root, and typing:
apt-get install php5-mysql
After installing that, try performing you WordPress and Joomla installs again.
Submitted by theashman on Tue, 03/15/2011 - 09:08 Comment #2
Shouldn't php5-mysql be a dependency when installing Virtualmin? My thoughts are that it should. Most people will run MySQL locally when used with PHP, so it would save a fair amount of time.
Submitted by andreychek on Tue, 03/15/2011 - 09:51 Comment #3
It actually is! It is now, anyways :-)
At some point recently, we came to the same conclusion as you're mentioning -- that PHP and MySQL are both so commonly used, that it's worth installing that module during the installation process.
So, any new installation you do (using the latest install script) would install the php5-mysql package automatically.
Submitted by theashman on Tue, 03/15/2011 - 10:29 Comment #4
Can I ask since when it was implemented?
I installed Virtualmin using the install.sh less than 24 hours ago and I still needed to install php5-mysql after the install and setup was complete.
EDIT: Ubuntu 10.04 x86 Server
Submitted by andreychek on Tue, 03/15/2011 - 10:32 Comment #5
Hmm, can you attach the install.sh script that you used for the installation to this request?
Submitted by theashman on Tue, 03/15/2011 - 10:45 Comment #6
Added both install log and install script as txt files in attachments.
Submitted by andreychek on Tue, 03/15/2011 - 12:36 Comment #7
Great, thanks!
Also, do you happen to have the error message you received while installing the Install Script?
In theory, and install script should detect that php5-mysql isn't installed, and it should install it for you. So if that isn't working, that's something Jamie can fix.
However, Joe will be taking a look at the install.sh to figure out why php5-mysql isn't being installed in the first place.
You may have discovered two bugs :-)
Submitted by andreychek on Tue, 03/15/2011 - 12:38 Comment #8
Oh, actually, I see the issue -- that's a GPL install, which wouldn't have Install Scripts.
So it's just the one issue then -- looking into the install.sh and having it install php5-mysql by default.
Submitted by Issues on Tue, 03/29/2011 - 14:19 Comment #9
Automatically closed -- issue fixed for 2 weeks with no activity.