Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8145647
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 6, 20262026-06-06T13:44:04+00:00 2026-06-06T13:44:04+00:00

I am running WordPress on Win2k8/IIS7 (using httpcache, fastCgi & UrlRewriter 2.0) installed via

  • 0

I am running WordPress on Win2k8/IIS7 (using httpcache, fastCgi & UrlRewriter 2.0) installed via WPI. Everything seems to be working fine (uploads, posting via Live Writer, comments, plugins, pretty URLs).

I am trying to update WordPress to the latest version, but I get an error like this:

Download failed. Destination directory for file streaming does not
exist or is not writable

This is the same error that I get when trying to download a theme or update a plugin.

There are no errors in the event log and WordPress isn’t really telling me which directory it’s looking for, what user it thinks it’s using or what permission it is lacking.

I have double (and triple) checked that the IIS App Pool user is explicitly set, and that the directory has modify permissions for that user, and finally that those permissions have been propogated down to sub folders.

At the advice of Dr. Google, I have also added the following settings to the config file:

/** Absolute path to the WordPress directory. */
if ( !defined('ABSPATH') )
    define('ABSPATH', dirname(__FILE__) . '/');

/** Sets up WordPress vars and included files. */
require_once(ABSPATH . 'wp-settings.php');

define('WP_TEMP_DIR', ABSPATH . 'wp-content/');
define('FS_METHOD', 'direct'); 

Am I missing a config option or a setting? Does WordPress require the sacrifice of a small kitten and/or an Algerian degu?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-06T13:44:06+00:00Added an answer on June 6, 2026 at 1:44 pm

    From the PHP manual on IIS7 installation (emphasis mine):

    Impersonation and file system access

    It is recommended to enable FastCGI impersonation in PHP when using
    IIS. This is controlled by the fastcgi.impersonate directive in
    php.ini file
    . When impersonation is enabled, PHP will perform all the
    file system operations on behalf of the user account that has been
    determined by IIS authentication.
    This ensures that even if the same
    PHP process is shared across different IIS web sites, the PHP scripts
    in those web sites will not be able to access each other’s files as
    long as different user accounts are used for IIS authentication on
    each web site.

    For example IIS 7, in its default configuration, has anonymous
    authentication enabled with built-in user account IUSR used as a
    default identity. This means that in order for IIS to execute PHP
    scripts, it is necessary to grant IUSR account read permission on
    those scripts.
    If PHP applications need to perform write operations on
    certain files or write files into some folders then IUSR account
    should have write permission to those.

    As discussed in the “Should I impersonate PHP via FastCGI?” question on ServerFault, there are security concerns if you would grant the anonymous user write access rights on your server. For instance, if you have also enabled the WebDAV module, anyone could write to your directories using this protocol!

    Therefore my recommendations are:

    1. Ensure all your sites have their own unique Application Pool assigned.
    2. In the Advanced Settings under Processing Model for the application pool, set the built-in account as ApplicationPoolIdentity.
    3. Disable impersonation in php.ini with fastcgi.impersonate = 0, so PHP runs under the Application Pool Identity as set in IIS.
    4. Set read/write permissions on your folders using the automatically generated application pool user account (e.g. “IIS AppPool\MyAppPoolName”).

    This way, all PHP scripts are ensured to run under a system account, tied to the Application Pool of the site (isolating it from other sites), and cannot accidentally get too public access via impersonation.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I've a Mac server and everything working fine I'm running a wordpress and have
I have to upgrade a running wordpress site's wordpress CMS and some installed plugins.and
I have a local install of Wordpress running & I am suddenly getting these
I'm running wordpress 2.8.6 as fcgi with safe_mode=on, on plesk9/centOS64. wordpress was installed by
OK I have my website running Wordpress at http://www.visualise.ca/ and I installed the qTranslate
I'm using the FLIR for Wordpress plugin (v0.8.9.2) with FancyFonts enabled. I'm running Wordpress
I have a Apache server running at Rackspace Cloud Hosting, so I've installed Wordpress
I'm running wordpress on a micro EC2 instance using a bitnami AMI (ami-8333ffea to
I currently have a custom themed blog running on wordpress with Jetpack installed. I
Hi I am running WordPress latest version with a custom coded jQuery featured post

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.