your php installation appears to be missing the mysql which is required for wordpress

So you have PHP and MySQL installed now but your local copy of Wordpress just isn't wanting to play ball....

Well it turns out that you need to make a few changes to your php.ini file.

if you do a search for extension=php_mysql.dll and un comment it ie delete the ; at the beginning of the line

then search further up in the ini file for extension_dir="./" and replace ./ with c:\php\ext (assuming your php is in c:\php) so it will look like: extension_dir="c:\php\ext". This tells php that the dllfor the php_mysql.dll is located in c:\php\ext.

save your php.ini

Also copy libmysql.dll from c:\php c:\windows\system32 and then restart IIS.

you should now be able to use wordpress from your local PC.

  Add to Technorati Favorites StumbleUpon Toolbar

  1. Gravatar
    Jon 9/12/2008 4:31 PM

    # re: your php installation appears to be missing the mysql which is required for wordpress

    Fantastic, someone who finally knows what they are doing. Thank you.

  2. Gravatar
    cathal 11/16/2008 11:38 AM

    # re: your php installation appears to be missing the mysql which is required for wordpress

    HI, Im still getting Your PHP installation appears to be missing the MySQL extension which is required by WordPress.
    Is there anything else I should check?.. I have a number of PHP.ini files, which one is the one to be using?.
    can I delete the others?. Thanks

Leave a reply

Title *

Name *

Email

Url

Comment *  

Please add 1 and 2 and type the answer here: