• Ok.

    Here is the deal.
    I am trying to install WordPress on my IIS 6 server that has PHP and MySql Installed.

    The files are installed in the following directory structure

    root\blog\

    So to run the install file, I go to root\blog\wp-admin\install.php

    I get the following message:

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

    I have tried altering my php.ini file, but that just ended up with me uncommenting the mysql dlls and then I found that my install didn’t seem to have placed them anywhere. I think the problem could be that the extension aren’t installed at all on my server.

    Furthermore, I was able to find the extensions in a zip fiel but I’m not sure how to reference them or where I should put them. all help is appreciated.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter shoff

    (@shoff)

    I have since been able to get to a new set of error messages. I still have the old one but I have a new one in addition.

    I tried to follow the following advice:
    https://apacheguide.org/wordpress.php

    Which seems to be what people think solves the issue:

    Note: If you get an error “Your PHP installation appears to be missing the MySQL which is required for WordPress.”, try the following:

    Open C:\php\php.ini and make the following changes, and then restart Apache.

    Line 647
    extension=php_mysql.dll

    Line 743
    mysql.default_host = localhost

    Line 746
    mysql.default_user = root

    In any case, this only produced the following error:

    Your PHP installation appears to be missing the MySQL which is required for WordPress.PHP Warning: PHP Startup: Unable to load dynamic library ‘./php_mysql.dll’ – The specified module could not be found. in Unknown on line 0

    So, it seems that it can’t find the extension files. The extension folder in my .ini folder is set up as follows:
    extension_dir = “./”

    Is this a default? To me it seems like it is saying to look one directory back to find the extension dlls.

    In any case, my PHP folder that contains the .ini folder is found in C:\Program Files\PHP. It seems like one directory back just tells PHP to look in program files for the extensions. The extensions are obviously not in that folder.

    Any ideas?

    Your problem is almost certainly the php.ini is specifying the extensions directory wrong. Usually the php installer puts the extension files here:
    c:\program files\php\ext
    or here
    c:\program files\php\extensions

    Take a look at your hard drive and see where those extensions are actually installed and put the full path into the extension_dir property. That should fix your problem

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘WordPress Install Stalls’ is closed to new replies.