Wordpress installation problems...

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

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.

System:

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.

Thanks!

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

Howdy,

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.

-Eric

Wed, 05/19/2010 - 11:01
andreychek

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:

/etc/php5/cgi/conf.d/mysql.ini

Does that look correct?

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

-Eric

Wed, 05/19/2010 - 11:14
wolfsden3

Hi Eric,

Thanks for the lightening fast reply.

Contents of mysql.ini file:

configuration for php MySQL module

extension=mysql.so

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

http://adventistanswers.com/error.log

It's only been online for a few days.

Wed, 05/19/2010 - 11:37
wolfsden3

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

libapache2-mod-php5

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