Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

General Questions

General questions about getting started with SilverStripe that don't fit in any of the categories above.

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

Migrating silverstripe website from one server to another


7 Posts   266 Views


26 August 2014 at 11:32pm (Last edited: 26 August 2014 11:40pm), Community Member, 6 Posts


I am planning to migrate my silverstripe site from one server to another. I found many related topic, but in my case I just wanted to Test my site on new server before completely Propagated. I followed further steps.

1. Backup database from old server.
2. Backup all file and folders.
3. Restore database on new server.
4. Upload files on new server.
5. Created new silverstripe-cache folder.
6. Edit _ss_environment e.g. Database name, username, password

any thing I missed?


28 August 2014 at 6:48am Forum Moderator, 1091 Posts

Make sure your silverstripe-cache en your assets folders are writable?


28 August 2014 at 4:58pm Community Member, 6 Posts

Thanks for quick replay.

But now the problem is my new hosting plan has Php version 5.2.17
and I am trying to test my site on temporary web url.

I am totally confused, What I can do next.


28 August 2014 at 8:10pm Forum Moderator, 1091 Posts

Are you on SilverStripe 3.x? In that case a minimum of php5.3 is required (5.4+ recommended).

Version 2.4 will run on Php5.2 but if that's the only php version available on your new plan, your hosting provider is waaaay behind, as many now offer up to php5.5...

It can be a bit tricky to make SilverStripe run on a temp url. Have you actually tried? What happened?


28 August 2014 at 9:21pm Community Member, 6 Posts

Thanks martimiz

I have tried couple of time with Silverstripe latest version (3.x) because my website already built in 3.x, hence I could not able to install it on my new host.
As you mention I will try to install older version and run it on temporary url, even I don't know it will work or not.

Thanks once again for your support.


28 August 2014 at 9:28pm Forum Moderator, 1091 Posts

In that case I really suggest you either contact your hosting provider for a platform upgrade, or go for new hosting. Silverstripe 2.4 is no longer supported, so I'd advise against using it unless you already have an old site which you're not able to upgrad just yet...


5 September 2014 at 12:28am Community Member, 6 Posts

hi martimiz,

My website migration completed successfully. I also run cms on temporary website url and it's work fine.
I only make changes in .htaccess BaseURL '/~username'. and flush database after all the upload (database and files ) done.

Thanx a lot for your support :)