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   2035 Views

Avatar
shmk

Community Member, 4 Posts

21 December 2009 at 11:33pm

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

Avatar
Sean

Forum Moderator, 922 Posts

22 December 2009 at 10:39am

Edited: 22/12/2009 10:40am

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