silverstripe-framework/docs/en/installation/webserver.md

1.6 KiB

Generic Webserver Installation

These instructions show you how to install SilverStripe on any web server.

For additional information about installing SilverStripe on specific operation systems, refer to:

Installation Steps

  • Download the installer package

  • Make sure the webserver has MySQL and PHP support. See Server Requirements for more information.

  • Unpack the installer somewhere into your web-root. Usually the www folder or similar. Most downloads from SilverStripe are compressed tarballs. To extract these files you can either do them natively (Unix) or with 7-Zip (Windows)

  • Visit your sites Domain or IP Address in your web browser.

  • You will be presented with a form where you enter your MySQL login details and are asked to give your site a 'project name' and the default login details. Follow the questions and select the install button at the bottom of the page.

  • After a couple of minutes, your site will be set up. Visit your site and enjoy!

Issues?

If the above steps don't work for any reason have a read of the Common Problems section.

Security notes

Yaml

For the reasons explained in security, Yaml files are blocked by default by the .htaccess file provided by the SilverStripe installer module.

To allow serving yaml files from a specific directory, add code like this to an .htaccess file in that directory

<Files *.yml>
	Order allow,deny
	Allow from all
</Files>