Wordpress installation problems...

6 posts / 0 new
Last post
#1 Wed, 05/19/2010 - 10:42

Wordpress installation problems...

I have tried just about everything I found on the net to no avail. I keep getting this error when installing wordpress.

"Your PHP installation appears to be missing the MySQL extension which is required by WordPress."

Background on the issue:

Yesterday this same error was happening and I did a...

apt-get install php5-mysql

Bam, it "fixed" it, I got the prompts from wordpress to continue on with the installation. I had the default site up most of the day yesterday.

Then - at 4'ish in the afternoon my buddy called and said he keeps getting a prompt to download a file. I tried with IE and FireFox. So - my buddy and I decided, lets start over from scratch on this account. We deleted it.

When creating the new account he named it slightly different, VirtualMin then creates all the neccessary stuff, mysql db, email, ftp, etc, etc. Good to go but when we uploaded WordPress all I get is the aforementioned error and I can't get past it.

I've tried changing the users mysql password, giving more permissions then making them "none" again. I noticed two spots for permissions one was "full" and the other "none" depending on what screen you're on in Webmin's MySQL manager link. I tweaked the php.ini file then set it back when that didn't do anything.

I can't figure this thing out!!!

The site is: http://adventistanswers.com if you care to look at the error yourself :)

I don't call for help unless I've exhausted all resources.


Ubuntu Linux 8.04.4 VirtualMin 3.78.gpl GPL Webmin 1.510 Kernel and CPU Linux 2.6.24-27-generic on i686

Any help or insight wold be AWESOME on this problem.


Wed, 05/19/2010 - 10:57
Wed, 05/19/2010 - 11:00


I'd be curious to see the phpinfo() output for that particular Virtual Server.

Could you put a script on there named something like "test.php", with the following content:

<?php phpinfo() ?>

With that, we'll be able to see if MySQL is actually available or not.

If not, you may need to look into why the MySQL extension isn't being loaded. I'd suggest verifying the mysql.ini file that should be in /etc/, as well as looking in /var/log/apache/error_log for any clues.


Wed, 05/19/2010 - 11:01

Ahh, I see you already uploaded the phpinfo() :-)

Yeah, it shows the MySQL module as not being loaded... take a peek in this file here:


Does that look correct?

Also taking a look in the Apache error logs may help identify the issue.


Wed, 05/19/2010 - 11:14

Hi Eric,

Thanks for the lightening fast reply.

Contents of mysql.ini file:

configuration for php MySQL module


Here's the FULL contents of the error log in question, lots of information there :-)


It's only been online for a few days.

Wed, 05/19/2010 - 11:37

I'm still plugging away and I found a post online here that said to install this:


After intalling renaming the error.log file to error.log_old, restarting apache2 I only get 2 errors (are they errors or just notices?) but it's still not working :-)

[Wed May 19 06:35:08 2010] [notice] suEXEC mechanism enabled (wrapper: /usr/lib/apache2/suexec) [Wed May 19 06:35:08 2010] [notice] Digest: generating secret for digest authentication ...

Topic locked