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

Permission denied (13)


Reply

4 Posts   2576 Views

Avatar
Christy

30 June 2009 at 3:48pm Community Member, 57 Posts

I have installed SS before using wamp server but I am having difficulties installing it on a new laptop using the Windows installer.

PHP MySQL and Silverstripe appear to install successfully but going to http://localhost/silverstripe/ gives me this error.

[Warning] session_start() [function.session-start]: open(C:\WINDOWS\\Temp\sess_lcgsebb49reqnlotug4qt5k1q3, O_RDWR) failed: Permission denied (13)
GET /silverstripe/index.php

Line 197 in C:\Inetpub\wwwroot\silverstripe\sapphire\core\Session.php

Source

188       Session::set("FormInfo.$formname.message", $message);
189       Session::set("FormInfo.$formname.type", $type);
190    }
191
192    public static function start() {
193       self::load_config();
194       
195       if(!session_id() && !headers_sent()) {
196          session_set_cookie_params(self::$timeout, Director::baseURL());
197          session_start();
198       }
199    }
200    
201    /**
202     * Use the Session::$session_ips array to set timeouts based on IP address or IP address
203     * range.

Trace

* session_start()
Line 197 of Session.php
* Session::start()
Line 66 of main.php
* require_once(C:\Inetpub\wwwroot\silverstripe\sapphire\main.php)
Line 71 of index.php

Any help or pointers would be appreciated.

Avatar
WavyDavy

11 July 2009 at 7:32pm Community Member, 3 Posts

I have got pretty much the same problem and I am also trying to install on a laptop using the windows installer only in my case my install.php refuses to run due to the same permission error "Permission denied (13)".

Avatar
Christy

12 July 2009 at 4:46pm Community Member, 57 Posts

After much research and reloading I gave up and used the WAMP server to install Silverstripe with no problems.

Avatar
WavyDavy

13 July 2009 at 9:13am Community Member, 3 Posts

I ended up doing the same thing after I found it that IIS 5.1 borks url rewriting which was a dealbreaker for me. I installed xampp and will forget about windows servers for Silverstripe.