Jump to:

4945 Posts in 17789 Topics by 1494 members

Installing SilverStripe

SilverStripe Forums » Installing SilverStripe » Installing SilverStripe on Xampp

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

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

Page: 1
Go to End
Author Topic: 3864 Views
  • jackinthebox
    Community Member
    1 Post

    Installing SilverStripe on Xampp Link to this post

    I love SS2, it is by far the best opensource CMS I've come across. I have a problem I hope someone here can help with. An ex-colleague installed Silverstripe and modded it to form the basis of our website. I want to be able to run a duplicate of this site on my laptop so I can experiment with some changes we are thinking of implementing. I have installed xampp, and both php and mysql work fine, and I have also installed the raw silverstripe and that works fine too.

    The problem I have, is that I'm a virtual beginner when it comes to MySQL. So I have a copy of the file-tree/directories containing all of our site details, and I also have "mydatabase.sql" but I don't know how to make them work on my laptop!

    The normal clean SS2 runs fine in


    but when I replace that with


    I just get a list of files and folders in the directory, and then when I click on them, I get "object not found".

    I expect I'm missing something blindingly obvious, but it's been a few years since I did any serious web dev and I was hoping someone here might take pity on me and point me in the right direction!

    Any ideas? Thanks,


  • Fuzz10
    Community Member
    787 Posts

    Re: Installing SilverStripe on Xampp Link to this post

    Welcome to Silverstripe , good choice !

    - Make sure to load your database dump. (Easy way of doing this is by installing PHPMyAdmin or DBTools).
    - Make sure your _config.php contains the correct settings (project-name , database URL , username / password etc.)

    Good luck !

  • WorkingSolution
    Community Member
    18 Posts

    Re: Installing SilverStripe on Xampp Link to this post

    was the path on Xampp right?

    look in:
    mysite/_config.php for this:

    $databaseConfig = array(
       "type" => "MySQLDatabase",
       "server" => "localhost",
       "username" => "YOUR_USERNAME",
       "password" => "YOUR_PASSWORD",
       "database" => "YOURTABLE_NAME",
    /*here are some comments in original*/


    try then:

    then it will work ( I think)

Page: 1
Go to Top

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

Comments on this website? Please give feedback.