Wordpress: Problem installing on dedicated windows server 2008/IIS7

Solution 1:

I solved the same issue setting the Enable 32bit Applications option in the Advanced Settings of the application pool to true.

Solution 2:

I solved this issue by adding permissions to the PHP folder. It seems the Web Installer doesn't do this by default. In my case I need to add Read&Execute, Read, and List folder contents permissions to the NETWORK SERVICE user group.

If you already have another working copy of PHP installed on your server you can simply duplicate its permissions by looking at it in Properties->Security.

Solution 3:

I solved it by removeing the web app created by web platform installer and creating a new.

Solution 4:

After reading splattne's answer I had a look at my application pools and realized that I had 2. The one I originally created and also the one created by Web Platform Installer (probably caused by an earlier attempt to fix issues with Web Deploy).

To solve this,

  • I switched the site's application pool to "DefaultAppPool"
  • Removed both application pools
  • Created a new .Net 4.0 / Integrated Application Pool
  • Changed to allow 32bit in Advanced Settings
  • Ensured the web site's permissions included "Modify" for "IIS AppPool\Wordpress_Site_AppPool_Name_Here"