mysql support not being seen by appplications

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

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.

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.

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.

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

Hmm, can you attach the install.sh script that you used for the installation to this request?

Added both install log and install script as txt files in attachments.

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 :-)

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.

Automatically closed -- issue fixed for 2 weeks with no activity.