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.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

General Questions /

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

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

Migrating silverstripe website from one server to another


Go to End


7 Posts   1236 Views

Avatar
VPull

Community Member, 58 Posts

26 August 2014 at 11:32pm

Edited: 26/08/2014 11:40pm

Hello,

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?

Avatar
martimiz

Forum Moderator, 1391 Posts

28 August 2014 at 6:48am

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

Avatar
VPull

Community Member, 58 Posts

28 August 2014 at 4:58pm

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.

Avatar
martimiz

Forum Moderator, 1391 Posts

28 August 2014 at 8:10pm

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?

Avatar
VPull

Community Member, 58 Posts

28 August 2014 at 9:21pm

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.

Avatar
martimiz

Forum Moderator, 1391 Posts

28 August 2014 at 9:28pm

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...

Avatar
VPull

Community Member, 58 Posts

5 September 2014 at 12:28am

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 :)