Introduction

We try to be as wide as possible in our server requirements. However, there are some limitations. Please check our suggested-web-hosts (and add your host if the installation was successful).

If you’re running Windows, we recommend using the Windows Platform Installer or WAMP.

If you’re using MacOS X, we recommend the MAMP package, see silverstripe-on-mamp for instructions on installation. If you are using any other packages or setups, or you are on linux, please pay careful attention to the requirements below.

Installing SilverStripe on grid servers and content delivery networks have their own problems, see ContentDeliveryNetworkIssues for more info.

PHP

PHP5 is required. The following are further details and recommendations for how to properly set up PHP for use with SilverStripe.

  • PHP 5.2.0+ recommended, PHP as low as 5.0.4 have been known to work, but for best results 5.2.0+ is recommended. (see http://www.gophp5.org)
  • gd2, mysql, hash, mbstring modules loaded. Most of the time these modules can just be enabled in the php.ini, however support for these need to be compiled into PHP, which may not be the case if you are not using WAMP or MAMP.
  • Set the maximum memory to at least 48 mb. SilverStripe can be resource hungry for some intensive operations. Note: You can sometimes increase the maximum memory by adding a “ini_set(”memory_limit”,”48M”);” line to sapphire/main.php
  • Using a PHP accelerator or opcode cache (e.g. xcache) is strongly recommended to for performance reasons - SilverStripe creates large cache files as PHP code that are quite slow to open without an opcode cache.

If you need information on your PHP configuration, create a php file with the following content:

<?php
 
phpinfo();
 
?>

If you visit this file in your web browser, it will give a full list of the configuration of PHP.

Database

Currently, MySQL is the only database engine supported. PostgreSQL, SQLite, and MS SQL support are all in the pipeline, but exactly delivery dates will depend on demand.

  • MySQL 4.1+.

HTTP Server

SilverStripe has been shown to work on Apache, lighttpd, and IIS 5.1+.

  • Apache 1.3+/2.0+/2.2+ with mod_rewrite, and the ability to set rewriting rules in .htaccess files via “Allow Override”.
    • The following is an example of the Directory directive from the Apache configuration file:
    <Directory "/location/of/silverstripe">
        Options FollowSymLinks SymLinksifOwnerMatch
        AllowOverride All
        Order allow,deny
        Allow from all
    </Directory>
  • The Apache server needs to be restarted for the configuration changes to take effect.
  • We suggest using mod_deflate/gzip to compress HTML/CSS/JS etc and thus improve page loading times this applies to any website constructed , not just to SilverStripe
  • lighttpd 1.4+ with access to the server configuration. (See installation-on-lighttpd
  • Silverstripe makes uses the geoiplookup to get the visitors’ location (with an ip2country function). In order for this to work, you must have the geoiplookup application installed on your server. Silverstripe will run fine without it.

Operating System

SilverStripe can run on OS X, Windows, Linux and BSD.

  • Windows 2000+ (we specifically test XP Service Pack 2 and Vista)
  • OS X 10.4+. Earlier versions may work but we haven’t tested them and can’t provide support.
  • Linux/BSD. The kernel doesn’t really matter as long as you’re running the correct HTTP server.
    • File permissions: To install and run SilverStripe, You need to be able to set some files (e.g. the ‘assets’ folder) to be writable by the user the webserver is running as (e.g. wwwrun). Having shell access or a control panel (or an FTP server that allows file permission changing) is helpful.

Browser

Make sure that Cookies have been enabled for the web site for the installation and management of the SilverStripe CMS.

 
server-requirements.txt · Last modified: 2009/11/03 16:19 by sminnee

Please use comments for notes, tips and corrections about the described functionality.
Use the Silverstripe Forum to ask questions.

blog comments powered by Disqus
 
Creative Commons LicenseSilverStripe Documentation by SilverStripe is licensed under a Creative Commons Attribution 3.0 New Zealand License.
Based on a work at doc.silverstripe.com
Recent changes RSS feed Driven by DokuWiki