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.

Installing SilverStripe /

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

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

Code to move directory up one level on server


Go to End


5 Posts   3745 Views

Avatar
kateh

Community Member, 18 Posts

20 May 2009 at 9:57pm

Edited: 20/05/2009 9:57pm

I would like to make my site live by putting some code to move the directory up one level to the root.
Could someone give share their code on how to make that happen? And where should I put it?

My site is here: http://www.lasergraph.fr/SS/

And I'd like it to be here: http://www.lasergraph.fr

Avatar
Willr

Forum Moderator, 5523 Posts

22 May 2009 at 11:47am

Can't you just copy all the files in the sub folder to the root folder via FTP?. You would just need to make sure even the hidden files are moved (.htaccess)

Avatar
kateh

Community Member, 18 Posts

6 June 2009 at 8:43pm

Edited: 06/06/2009 8:56pm

My website was ready and everything working great with Silver Stripe and so today I

decided to moved the files to the root via FTP and I get this error: PHP 5 required
To run SilverStripe, please install PHP 5.0 or greater. I didn't change anything, except for the "SS" in the hidden (.htaccess)

Worked here http://www.lasergraph.fr/SS/

Doesn't work here: http://www.lasergraph.fr

Avatar
Willr

Forum Moderator, 5523 Posts

6 June 2009 at 9:01pm

some hosts use the .htaccess to tell their server if you are running php4 or php5 - make sure you haven't deleted that existing htaccess rule in the root folder which told the server to use php5 rather then 4

Avatar
kateh

Community Member, 18 Posts

6 June 2009 at 9:20pm

Thanks Will, that was it!!!!