Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

Installing SilverStripe /

Getting SilverStripe up and running on your computer and on your web server.

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo, swaiba

Install SilverStripe with windows10 & IIS10


Go to End


1454 Views

Avatar
yYang365

Community Member, 1 Post

20 January 2016 at 6:37am

Edited: 20/01/2016 6:40am

I installed the SilverStripe 3.2.1 on windows 10 & IIS 10, Requirements display:
Webserver Configuration All Requirements Pass but 1 Warning,
URL rewriting support, I can not tell whether any rewriting module is running. You may need to configure a rewriting rule yourself.
View the source code and found:

/**
 * Check if the web server is IIS and version greater than the given version.
 * @return boolean
 */
public function isIIS($fromVersion = 7) {
  if(strpos($this->findWebserver(), 'IIS/') === false) {
    return false;
  }
  return substr(strstr($this->findWebserver(), '/'), -3, 1) >= $fromVersion;
}
$webserver = $_SERVER['SERVER_SOFTWARE']; // Microsoft-IIS/10.0

If IIS version is 10.0, then is four characters, here seems to be a Bug.
Why not
 return substr(strstr($this->findWebserver(), '/'), 1) >= $fromVersion;