• I have installed and been able to use WordPress on my server just fine. I use IIS 8 and Windows Server 2012 R2. However, I am learning now I am having problems with how it is configured, which I found out because I was trying to update max upload size. I have no web.config, php.ini, .htaccess files I need in order to change it.

    Most sites are saying to update and save permalinks and that will force creation but when I do that it is telling me “You should update your web.config now”. I tried to manually create php.ini, .htaccess, and web.config files and placed them at various levels individually to test to see if they were picking up but weren’t. Any suggestions how to proceed? I’ve been stuck on this for a week and have ran out of pages of Google to click on.

Viewing 1 replies (of 1 total)
  • IIS servers ignore .htaccess files. You may also need to find some IIS documentation on how to use web.config files. Ex: IIS “web.config” “how to”

    In the meantime, if you have complete control over the server, option 1 in this info might get you going:

    The maximum upload size is controlled at the server-level, not by WordPress. Here are three ways you can increase the upload limit:

    1. If you can edit or override the system php.ini file, increase the maximum file and post sizes. For example, upload_max_filesize = 100M ; and post_max_size = 100M ;

    2. If you cannot edit or override the system php.ini file, add php_value upload_max_filesize 100M and php_value post_max_size = 100M to your .htaccess file.

    3. If neither of these work, it’s time to ask your hosting provider to increase the maximum file and post sizes on your account. Keep in mind that most decent hosting providers allow this, and If your hosting provider won’t accommodate you, perhaps it’s time to find a new hosting provider.

    (in the above examples, the limit is set to 100MB)

Viewing 1 replies (of 1 total)

The topic ‘PHP/htaccess/Web.config issues’ is closed to new replies.