IIS: WPCACHEHOME must be set in config file
-
Hello everyone
I am running WordPress v4.9.1 on IIS 8.
When I attempt to activate the WP Super Cache plugin, I get the following:
Warning! Could not update C:\inetpub\wwwroot\mysite/wp-config.php! WPCACHEHOME must be set in config file.
Followed by:
Warning! C:\inetpub\wwwroot\mysite/wp-content/advanced-cache.php does not exist or cannot be updated.
If it already exists, please delete the file first.
Make C:\inetpub\wwwroot\mysite/wp-content writable using the chmod command through your ftp or server software. (chmod 777 C:\inetpub\wwwroot\mysite/wp-content) and refresh this page. This is only a temporary measure and you’ll have to make it read only afterwards again. (Change 777 to 755 in the previous command)
Refresh this page to update C:\inetpub\wwwroot\mysite/wp-content/advanced-cache.phpIf that doesn’t work, make sure the file C:\inetpub\wwwroot\mysite/wp-content/advanced-cache.php doesn’t exist:
Open C:\inetpub\wwwroot\mysite\wp-content\plugins\wp-super-cache/advanced-cache.php in a text editor.
Change the text CACHEHOME to C:\inetpub\wwwroot\mysite\wp-content\plugins\wp-super-cache/
Save the file and copy it to C:\inetpub\wwwroot\mysite/wp-content/advanced-cache.php and refresh this page.I have gone ahead and given full control to IIS_IUSRS to the wp-config.php and all my site’s directory.
But I still get the errors.
Does this plugin not support Windows installations?
- The topic ‘IIS: WPCACHEHOME must be set in config file’ is closed to new replies.