• Just installed ver 2.5 on RHEL 5. I confirmed everything is isntalled (php,mysql and apache). But i get the following when loading the install script:

    install.php

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

    I followed all the instructions on creating the DB etc and It all seemed to go through without a hitch. There was mention to put in a line on php.ini extension=mysql.so but that has not fixed it either.

    Can someone help, I have tried everything that has come up in google.

Viewing 15 replies - 1 through 15 (of 33 total)
  • Moderator Samuel Wood (Otto)

    (@otto42)

    www.remarpro.com Admin

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

    Only one thing causes that error. Your PHP.INI doesn’t have the mysql line uncommented, so it’s not loading the mysql module (or the module is simply missing entirely).

    Restart your webserver after you fix the PHP.INI file.

    Thread Starter a2vr6

    (@a2vr6)

    Thanks for the reply, I found the resolution:

    1) yum install -y mysql mysql-server – Ensure that MySQL and MySQL server are installed

    2) yum install -y php php-mysql – Ensure that PHP and the PHP MySQL components are installed

    3) Restart Apache

    Hi there,

    I’ve set up the SQL db on GoDaddy. I am getting that error, I’m assuming I can’t restart the GoDaddy server … any suggestions?

    (speak slowly, I”m not a programmer! I’m a lowly graphic designer.)

    Sincerely,
    In Over Her Head

    I am getting the same error message. I am also using GoDaddy. I’ve been using WordPress on a GoDaddy website and SQL database for years.

    Downstream is another user having the same problem and the recommendation there is to switch from Windows OS to Linux. I have done that and am awaiting the switchover to see if that helps.

    Please keep us notified if this is resolved and what the solution is.

    I too am just a lowly graphic designer and need step by step instructions.

    Thanks!

    Instant update:

    Switching the GoDaddy server’s OS to Linux did the trick for me. I was able to log into the blog, update WordPress, etc.

    All functions of the blog are working better with the upgrade.

    I came across this error under Windows XP. (Don’t worry, I’m just using it as my development site, not production.).

    Environment: Windows XP, Apache-2.2, PHP-5.2.5, MySQL-5.0, WordPress-2.5

    These were the steps which I followed to install WordPress without it resulting in that nasty error message.
    1. Install Apache
    2. Install My-SQL. Note: in WordPress’ installation instructions this step comes after PHP installation. However, I read somewhere someone suggesting to install PHP after My-SQL. Don’t know if this was the determining factor, but it was the way I took.
    3. Install PHP. Here is were I think you’ll make it or break it. When installing PHP,
    a) be sure to point to Apache’s conf directory when asked where its configuration directory resides, don’t just point to Apache’s install directory,
    b) when asked which items to install, navigate down into Extensions and select MySQL and MySQLi. By default, these won’t be installed.
    4. Copy wordpress directory contents into Apache’s htdocs directory (just my choice, but there are ofcourse other variations which will work).
    5. Restart Apache.
    6. navigate to https://localhost/wp-admin/install.php This time it should work.

    I make no claims to being an Apache/PHP/MySQL/WordPress guru or even a dimly enlightened student. Some of the steps above are probably unnecessary, but they seemed the right thing to do, and hey – IT WORKED!

    I hope this helps.

    Okay, so tried exactly what was outlined above, but am still getting this error on https://localhost/wordpress/wp-admin/install.php.

    Anyone have any other suggestions? I’ve checked the php.ini file to confirm that all MySQL entensions are enabled as well and still no-go.

    I’m trying to install WP on my localhost running Apache, MySQL, and phpMyAdmin on a Windows XP. Everything is working great – I can get to phpMyAdmin and create new MySQL databases with no trouble, it’s only the WP install that’s giving me issues.

    At a loss – can anyone help?

    hi,
    when trying to run the script install.php, I am getting the same error.

    I’ve checked everything and made all the required settings in the php.ini file but the problem still persists.

    Earlier it was all working fine but after formatting my pc an reinstalling php and mysql, the problem has started coming.

    please help me out!

    Otto42 is correct

    ; 6-6-08 uncommented next line
    extension=mysql.so

    This worked

    For those of us using GoDaddy with the Windows XP OS and consequently running into this issue, how do we switch to Linux? I’m assuming it’s the best way to fix the problem?

    For those of us using GoDaddy with the Windows XP OS and consequently running into this issue, how do we switch to Linux? I’m assuming it’s the best way to fix the problem?

    Here is the GoDaddy how-to, with detailed instructions:
    https://help.godaddy.com/article/1285

    I am having this problem too, and i can not find this PHP.INI file to correct it, where is it.. and is there any other easy quick way to fix this problem ?

    Are you hosting your own website on your machine?
    If not, don’t bother. And next time read more carefully.

    Who is your host?

    I’m hosted by Go Daddy, and was having the same error.

    After I switched the OS to Linux I was still getting an error, just a better-composed one. I solved the problem by changing ‘DB_HOST’ field in wp-config.php from ‘localhost’ to the IP where my database existed, which can be easily had by signing into Go Daddy’s database management site.

    Guess I was part of the 1% with this problem.

    Hi there,

    Same problem as above: after following all steps for installing WordPress, get the same

    “Your PHP installation appears to be missing the MySQL extension which is required by WordPress”

    message when trying to load wp-admin/install.php to complete the WordPress installation. I’ve checked _all_ possibilities discussed above: the php.ini file of _both_ my php4 and php5 installations have uncommented “extension=mysql.so” lines (also “extension=mysqli.so” for php5), these modules _are_ present, and my Apache-PHP-MySQL setup _does_ seem to work, for I have phpmyadmin installed and it _does_ work as it should – all MySQL management can be done by PHP from my Firefox web browser. The WordPress files are the _only_ ones which complain as if there was something missing.

    My machine runs Ubuntu Linux 6.06 (“Dapper Drake”), and all versions of the needed packages seem to be up to date.

Viewing 15 replies - 1 through 15 (of 33 total)
  • The topic ‘Your PHP installation appears to be missing the MySQL extension which is require’ is closed to new replies.