Installing on Windows now easier thanks to Microsoft Web Platform Installer

Posted by Sigurd on 19 March 2009

At MIX today, Microsoft released Web Platform Installer (WebPI) 2.0 beta—new software that makes it much easier and more compelling to install PHP applications on the Windows IIS web server.

SilverStripe has been selected as one of ten PHP and .NET web applications to be bundled with the launch of WebPI. This means the easiest method for installing SilverStripe is now Microsoft's WebPI, and for many people, this will be much easier than installing SilverStripe using WAMP or on Linux.

  • WebPI automatically downloads, installs, and configures free software dependencies like the official Microsoft IIS webserver, PHP, and web apps like SilverStripe.
  • WebPI works on Windows XP, Windows Server 2003, Vista, and Windows Server 2008. It takes care of the architecture differences so that installation remains a simple wizard process.
  • We've solved the two most commonly listed Windows installation problems from our forums: getting a URL Rewriter to work, and setting up the correct file permissions (for installation and to facilitate file uploads in the system.)

SilverStripe's inclusion in the web application gallery is not only fantastic for our profile or as a way to make it easier for you to install SilverStripe—but, as our case study explains (available in PDF too), it also serves to illustrate that SilverStripe works well on Windows, which was supported through having access to technical Microsoft staff.

 

Sigurd Magnusson (SilverStripe) and Nigel Parker (Microsoft)

Sigurd Magnusson (SilverStripe) with Nigel Parker (Microsoft)

 


What does the new installation process look like?

Step 1. MySQL

  • Currently WebPI does not install MySQL. You must install this first. Fortunately, this is an easy process: download either the 32bit or 64bit version of MySQL 'Windows Essentials' (about 30MB.)
  • Move through the simple installation wizard, memorising the username and password that you create for the database server (e.g. "root" and "mynewpwd.")
  • Microsoft have a guide on installing MySQL on Windows if you need details.
  • NB. We aim to have Microsoft SQL Server support in the future, which WebPI can automatically configure, so the manual step to install MySQL will become optional in the future.

MySQL Wizard Installer MySQL Wizard Installer

 

 

Step 2. Web Platform Installer (WebPI)

Download and install the Microsoft Windows Platform Installer:

Install SilverStripe Using WebPI

(This link will download WebPI. However, if you have WebPI  installed, then this same link will launch WebPI and select SilverStripe to install. Share this button and the URL it links to!)

Step 3. Install SilverStripe using WebPI

Web Platform Installer retrieves the list of applications listed at microsoft.com/web/gallery (This list will grow as developers add their web applications to the gallery.)

Choose SilverStripe (listed under Content Management), and click Install:

WebPI - ticking SilverStripe

Having inspected your machine, WebPI will list the software that SilverStripe depends on. It's a much smarter way to have a web platform on Windows, because it saves you downloading a wholly separate WAMP server.

WebPI showing needed dependencies

WebPI will download and configure the dependencies, and it will prompt to you to install IIS if needed. You will also notice it downloading SilverStripe directly off our SilverStripe.org website.


Step 4. SilverStripe configuration

WebPI then only asks a few simple questions, such as:

  • Whether you want SilverStripe installed as your entire website or in a sub-folder
  • The existing username and password to access your MySQL database
  • A new username and password to be used as your initial SilverStripe CMS administrator account
WebPI Config Screen

WebPI Config Screen 2

Once you see this screen, you have successfully completed the installation:

SilverStripe on WebPI Install Complete

Step 5. Evaluate SilverStripe and build something with it!

The default theme of SilverStripe lets you navigate your new website immediately.

Initial SilverStripe Screen

And the content management system is ready for content entry and customisation.

CMS Editor

Give us feedback!

Given 40% of SilverStripe installations already occur on Windows, we jumped at the chance to be a part of WebPI because it could make those installations smoother. We would love to get your feedback, as we are certain there are things to be improved—please use this chance to articulate them!


 

Post your comment

Posting comments has been disabled.

Comments

  • Spent the night trying to install this on IIS6 / 2003 Server.

    Problems :

    - WPI doesn't configure FastCGI correctly to parse PHP pages (404 error on .php page after install)

    - WPI Install script need root SQL access to complete or else it will fail (Need RELOAD privileges) (For info info RELOAD is deprecated and shouldn't be used)

    - Once I configured everything correctly and had it running, Silverstripe was running without them (White background and black unformatted text) and loading a page was extremely slow.

    - The Admin page is not working (After login, it just displays "Loading..."

    - HUGE SECURITY FLAW: WPI doesn't delete the install.php page after install

    - I supposed that WPI install was crappy and because it left the install.php I tried to run an install again. The install page is loading quickly and correctly (Theme and everything) but can't finish the install because it needs URL_REWRITE.

    Conclusion: WPI is a piece of shit and Silverstripe is not ready to run on IIS6

    Posted by Sh4, 5 years ago

  • Vaughn, you'll need the CD if you don't have some components of your IIS web server set up. You can use Apache or another server as an alternative...

    Posted by Sigurd Magnusson, 5 years ago

  • I am having an issue where it asks me to insert my Windows XP Professional disc...did I make a mistake or is this normal? I dont have an XP Pro disc on me at the moment and wanted to get this running today. :-\

    Posted by Vaughn, 5 years ago

  • As shown in the screenshot above, you can click on 'Launch your web app', which is simply the same as visiting http://localhost/ in your web browser. (Although in the install you may have chosen to install your website elsewhere.)

    Posted by Sigurd Magnusson, 5 years ago

  • How do I launch SilverStripe from the Start Menu after the successful installation?

    Posted by Jamus, 5 years ago

  • Robert, Three Dog, et al; if you are having any difficulties with WebPI, please go to our installation forum and post articulate details. Be sure to include your operating system and if possible, upload a screenshot of your problem. Cheers!

    Posted by Sigurd Magnusson, 5 years ago

  • Dean, please see our 2.3.1 release notes that explain our URL rewrite work around, which is required for IIS 5.1 and 6.0 ...

    http://www.silverstripe.org/silverstripe-2-3-1-eases-installation-and-provides-protection-against-website-comment-spam/

    Posted by Sigurd Magnusson, 5 years ago

  • So how has the problem with URL re-writes been resolved with the new installer?

    Posted by Dean, 5 years ago

  • Hi,
    How we can install with wamp,xampp. Am using Xampp

    Posted by Maheswaran, 5 years ago

  • Running IIS6 on server 2003. Already hace gallery2 and wordpress up and running on the site utilizing the web installer. However, I cannot get silverstripe up and running. After the install I click on the link provided by the installer and it goes to a blank page. Have not figured out how to get beyond this point.

    Posted by RobertW, 5 years ago

RSS feed for comments on this page | RSS feed for all comments

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.