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

Server2Go and Silverstripe 2.4.5 not working on CD


4 Posts   1065 Views


13 July 2011 at 2:16am Community Member, 81 Posts

Hey guys,
We are trying to get Silverstripe to run off a CD with Server2Go ( Thus far we have managed to get it to run off a USB stick with little hassle. However, we haven't managed to get it to run off a CD as it seems that there are Silverstripe caching issues or issues with the Manifest writing to a file.

Would anyone be able assist with this? It seems like some modifications are required to be made to sapphire to get this running in read only mode or to get the files to save in a temporary directory elsewhere.

Please help.



13 July 2011 at 2:51am (Last edited: 13 July 2011 2:51am), Forum Moderator, 1796 Posts

what does...

<?php echo sys_get_temp_dir(); ?>

return? can you add a "silverstripe-cache" folder there? if so it'll use that.


13 July 2011 at 3:23am Community Member, 81 Posts

That will unfortunately not work as a CD is read-only. For some reason it seems like there is an issue with the manifest file performing a save. Any ideas?


13 July 2011 at 3:33am Forum Moderator, 1796 Posts

right, so I am assuming that returns a folder on the CD... can you not configure the server2go to have a temporary folder on the main machine? (in the environment settings... php.ini) seems strange that you cannot configure a temp folder with write access - you'd need that for sessions I'd imagine...

you could hack the Core (literally!)... sapphire\core\Core.php - getTempFolder