The best way to get SilverStripe is to install with Composer. Composer is a package management tool for PHP that lets you install and upgrade SilverStripe and its modules. Although installing Composer is one extra step, it will give you much more flexibility than just downloading the file from silverstripe.org.
Other ways to get SilverStripe:
- If you just want to get the code as quickly as possible, you can download SilverStripe from our website.
- If you already have an installed version of SilverStripe, and you haven't used Composer to get it, please see our upgrading guide. Note that Composer provides its own tools for upgrading.
Setting up a server
To run SilverStripe on Linux/Unix, set up one of the following web servers:
- Install using Apache - our preferred platform
- Install using Lighttpd - fast, but a bit trickier to get going
- Install using Nginx - Super fast at serving static files. Great for large traffic sites.
- Install using nginx and HHVM - nginx and HHVM as a faster alternative to PHP.
The most straightforward way to get SilverStripe running on Windows is with the Microsoft Web Platform installer. You can skip the "getting the code" step.
For more flexibility, you can set up either of the following web servers, and use Composer to get the code:
Mac OS X
Mac OS X comes with a built-in webserver, but there are a number of other options:
Virtual Machines through Vagrant
Vagrant creates portable development environments which can be hosted on Linux, Windows and Mac OS X. The virtual machine usually runs a flavour of Linux. As a self-contained pre-configured environment, getting up an running with Vagrant tends to be easier than creating a complete development environment from scratch on your own machine.
Note: These instructions are supported by the community.
Virtual Machines through Bitnami
Bitnami is an online service that makes it easy to get apps running on cloud providers like Amazon Web Services as well as local virtualised environments. Bitnami has a SilverStripe Virtual Machine ready for download or installation on a cloud platform.
- Up and running
- Creating your first project
- Migrating static templates into your theme
- Working with multiple templates