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.

Installing SilverStripe

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

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

What I have to chmod?


Reply

2 Posts   1966 Views

Avatar
shmk

21 December 2009 at 11:33pm Community Member, 4 Posts

For installing and next to use SilverStripe, which folders (and subfolders) I have to set writable (777) ?

Avatar
Sean

22 December 2009 at 10:39am (Last edited: 22 December 2009 10:40am), Forum Moderator, 921 Posts

For installing you need to have web server writable access to a temporary directory, for *nix and Mac OS X this could be in /tmp, or on Windows it could be C:\Windows\Temp. This is automatically worked out. If you can't get access to either of these, you can create a directory in your SS project called silverstripe-cache, and set web server writable permissions to it. This will be where SS keeps temporary files.

Additional files you'll need to set writable permissions on are the assets directory, .htaccess and mysite/_config.php. Once you've successfully installed SilverStripe, you can remove the writable permissions on .htaccess, and mysite/_config.php, leaving assets with writable so that the Files & Images section can accept user uploads in the CMS.

Hope this helps,
Sean