Page 1 of 1
Sessions not enabled. How to enable with IIS?
Posted: Thu Feb 08, 2007 3:39 am
by norman1
Hi guys.
I have installed CMSMS as a test on my PC running WAMP5 and it worked a dream
Have now stepped up and am installing it on a server running IIS5, and have got it to the install part
At the first page (1) it passes all requirements, but has the yellow warning next to 'Checking if sessions are enabled' (and PHP memory is 8mb, upload mem = 2mb - but not so wurried bout these).
I have checked the php.ini file and the sessions section is the same on the server, as it is on my PC.
I'm not really sure what else to look for (and bit of a newbie to PHP). Been looking on google extensively but can't find a solution.
Can anybody point me in the right direction?
Or do I even need to have sessions enabled? - the site needs to run the built in modules plus calendar module.
Re: Sessions not enabled. How to enable with IIS?
Posted: Thu Feb 08, 2007 3:06 pm
by Pierre M.
Hello,
I don't know anything about IIS. But I think PHP sessions are only PHP and not IIS related.
I don't know much about PHP. May be it needs a folders for handling (transient) sessions. So my advice is to google how to make PHP sessions inside a folder with RW rights for IIS or have a look at the very nice docs on php.net.
You don't need sessions for your visitors to browse your site, but you need them to log in to write your site.
PM
Re: Sessions not enabled. How to enable with IIS?
Posted: Mon Feb 12, 2007 12:42 am
by norman1
Have had a mighty hunt around on the net for this - but everybody seems to suggest making the [Sessions] folder writable by the internet Guest account - but this doesnt seem to make any difference - and have come accross other IIS users also saying this didnt fix it for them
Anybody have any other suggestions?
Re: Sessions not enabled. How to enable with IIS?
Posted: Mon Feb 12, 2007 4:04 pm
by Pierre M.
norman1 wrote:
...making the [Sessions] folder writable by the internet Guest account...
You mean the /sessions folder, just under the root of the PHP enabled webserver, don't you ?
PM
Re: Sessions not enabled. How to enable with IIS?
Posted: Mon Feb 12, 2007 8:18 pm
by norman1
Pierre M. wrote:
norman1 wrote:
...making the [Sessions] folder writable by the internet Guest account...
You mean the /sessions folder, just under the root of the PHP enabled webserver, don't you ?
PM
Yeah theres a folder that PHP stores its sessions in (currently C:/PHP/Sessions) - but I think setting this to allow the IUSR Itnernet Guest account makes no differnece as its only PHP that uses this - not IIS..
Thanks for the ideas PM

Re: Sessions not enabled. How to enable with IIS?
Posted: Mon Feb 12, 2007 9:44 pm
by 3dcandy
Have a look through the PHP guides....you need to enable sessions in php correctly. I can't remember without
looking, but I had to play around with my own personal PHP install to enable them correctly!
Re: Sessions not enabled. How to enable with IIS?
Posted: Mon Feb 12, 2007 11:14 pm
by norman1
3dcandy wrote:
Have a look through the PHP guides....you need to enable sessions in php correctly. I can't remember without
looking, but I had to play around with my own personal PHP install to enable them correctly!
was that using PHP via IIS?
If you could remember that would be a real help cos I've checked everything I can find that might be wrong
